These are chat archives for ramda/ramda

Apr 2015
Raine Virta
Apr 11 2015 15:57
{ predicate1: true, predicate2: false } i needed to turn that into array of predicate functions where the predicates are taken from an object based on the key, and boolean determines if the function should be complemented. it felt like a good use case for functions as keys in object but since that's not possible ended up using toPairs with "headLens" and R.complement
David Chambers
Apr 11 2015 17:44
Could you share your code, @raine? I’m interested.
Scott Sauyet
Apr 11 2015 20:46
Me too. I'm confused how your initial object would comfortably map onto an array of anything.