These are chat archives for ramda/ramda
? :would be cleaner.
? :is effectively a binary function, it's just infix applied. There's many other such constructs in pure functional languages which are infix-applied for readability and convenience
equalsis doing some magic here, but isn't
const f = x => y => equals(true, y) ? x : yjust
const f_ = x => y => y && x