These are chat archives for ramda/ramda

4th
May 2015
Simon Friis Vindum
@paldepind
May 04 2015 06:02
@buzzdecafe Yes. That's why I wrote that it would read better ;) I consider it an extension of the idea of the placeholder for things besides currying.
Brandon Wilhite
@JediMindtrick
May 04 2015 16:48
is there anything like R.cond, but which will match ALL valid predicates and run the associated action ('then...' function) ?
Simon Friis Vindum
@paldepind
May 04 2015 17:04
@JediMindtrick Like a fall through cond that continues even after the first match?
Brandon Wilhite
@JediMindtrick
May 04 2015 17:08
yep
i've written this thing for myself already, but was wondering if ramda already had it
Scott Sauyet
@CrossEye
May 04 2015 18:49
No, Ramda doesn't have one. Does yours offer any escape mechanism? Or do you always have to run through every match?
Brandon Wilhite
@JediMindtrick
May 04 2015 18:53
mine always runs through every match...I basically use it as a way to notify subscribers of events that might interest them
Scott Sauyet
@CrossEye
May 04 2015 20:50
Interesting. I've been looking at a PubSub implementation in a production system. The subscriptions aren't written precisely with predicates, but could well be transformed. Hmm.
Michael Hurley
@buzzdecafe
May 04 2015 23:40
this looks pretty interesting: https://github.com/sebinsua/ramda-debug