These are chat archives for ramda/ramda

6th
May 2015
Scott Christopher
@scott-christopher
May 06 2015 00:41
I recall someone asking about short-circuiting reduce a couple of days ago and thought I’d share a pattern that I use for allowing that with a right fold.
It is essentially lazy over the accumulated value, requiring the provided function to call the function wrapping the accumulated value to continue.
Hardy Jones
@joneshf
May 06 2015 01:17
cool! looks like an unfold
Scott Christopher
@scott-christopher
May 06 2015 01:20
Though unfold is used for incrementally building a list, rather than reducing a list, isn’t it?
Raine Virta
@raine
May 06 2015 13:18
is there a function similar to R.pick that would return the values as a list in the order of keys given?
[k] → {k: v} → [v]
Raine Virta
@raine
May 06 2015 13:23
ah, R.props