These are chat archives for ramda/ramda

6th
Mar 2015
kevohagan
@kevohagan
Mar 06 2015 10:41
hey guys! im just starting off with ramda and really dont know what im doing! :smile: i just posted a question on SO if someone wants to help out! :) http://stackoverflow.com/questions/28896800/how-can-i-do-this-better-with-ramda-js
Santi Albo
@santialbo
Mar 06 2015 11:33
out of curiosity, do you favor pipe or compose on your codebases?
Josh Milo
@JoshMilo
Mar 06 2015 17:15
is the only difference between pipe and compose the order of the functions run?
Martin Algesten
@algesten
Mar 06 2015 17:16
yes. for a long time i thought pipe was me. but then suddenly i realised. compose
Danny Fritz
@dannyfritz
Mar 06 2015 17:25
pipe has the benefit of reading left to right.
compose has the benefit of moving to the left toward the assignment.
Martin Algesten
@algesten
Mar 06 2015 17:28
and if you’re a bit mathetmatical inclined: a = f(g(h(x)))
compose would be more natural compose f g h
Josh Milo
@JoshMilo
Mar 06 2015 17:36
ah
Simon Friis Vindum
@paldepind
Mar 06 2015 19:05
Is there a response to this issue: ramda/ramda#826
I'm pretty curios as to what Ramdas opinion is on lodash-fp.
Robin Lambertz
@roblabla
Mar 06 2015 19:52
Oh wow, that rearg function in lodash is kinda smart :)
is there anything similar in ramda ?
Simon Friis Vindum
@paldepind
Mar 06 2015 19:56
@roblabla afaik there is only flip.
Tbh, I don't think rearg is that useful in normal code. I mainly think Lo-Dash added it mainly as a tool to do lodash-fp.
Robin Lambertz
@roblabla
Mar 06 2015 19:58
@paldepind it's pretty useful to fp-ify libraries, which I end up doing often enough :(
Simon Friis Vindum
@paldepind
Mar 06 2015 20:00
@roblabla Oh. Yes. Indeed it is :)