These are chat archives for ramda/ramda

3rd
Jul 2015
Michael Hurley
@buzzdecafe
Jul 03 2015 00:01

i wouldn't mind a little sugar like this:

otherwise = function(cq) { return [R.T, cq]; };

so
R.cond([pred, fn], otherwise(R.identity))
Scott Christopher
@scott-christopher
Jul 03 2015 00:01
If you’ve got multiple conditions, then that’d be handy, otherwise R.ifElse already effectively does that.
Michael Hurley
@buzzdecafe
Jul 03 2015 00:02
yes indeed
David Chambers
@davidchambers
Jul 03 2015 00:42
@jethrolarson, +1 for R.when. I use this pattern often.
Joe Balsamo
@Joe-Balsamo
Jul 03 2015 21:17
Just learned about rambda. Extremely interesting.
David Chambers
@davidchambers
Jul 03 2015 21:42
Welcome, @Joe-Balsamo!
Joe Balsamo
@Joe-Balsamo
Jul 03 2015 21:50
@davidchambers Thanks!
BTW, I really like the logo, too. LOL