These are chat archives for ramda/ramda

17th
Jul 2017
Jason Shin
@JasonShin
Jul 17 2017 04:32
guys, can you chain futures in lodash fp compose / flowRight?
Gabe Johnson
@gabejohnson
Jul 17 2017 13:09
@JasonShin wrong room
Brad Compton (he/him)
@Bradcomp
Jul 17 2017 22:24
@JasonShin in Ramda you can use composeK if all your functions are of type Chain f:: a -> f a, or else you can use R.chain(f) in your compositions when it's a mixture of chains and maps...
Jason Shin
@JasonShin
Jul 17 2017 23:01
@Bradcomp I'm just using Ramda compose + ramda fantasy future in my open source actually.
I'm stuck at using lodash fp in my work project
=)...
Brad Compton (he/him)
@Bradcomp
Jul 17 2017 23:02
Ah...
Jason Shin
@JasonShin
Jul 17 2017 23:02
I think I can probably introduce http://caolan.github.io/async/docs.html#compose
for now
I don't like how it's invoked left -> right
but that's the closest to ramda compose that I can use, I guess.
Robert Mennell
@skatcat31
Jul 17 2017 23:54
@JasonShin why are you against pipe? Compose is written in terms of pipe anyways