These are chat archives for ramda/ramda

Jun 2016
Jun 22 2016 15:10
curious thing: redux includes a variadic compose implementation, but it has a base case for no arguments:
that is, their compose() returns x => x instead of an error
is there any good reason for doing them choosing that over an error?
Gabe Johnson
Jun 22 2016 15:41
@dtipson perhaps if it’s being used internally w/ apply?
or …args
Jun 22 2016 16:24
yeah. Weird usage if so, but I could see something dynamically adding things to a composition chain I guess
David Chambers
Jun 22 2016 17:42
It makes sense to me, @dtipson, for the same reason that sum([]) == 0 and product([]) == 1.