These are chat archives for ramda/ramda
foldl(append, )would work as the base case. Sure you can use appendTo, but there's no assocTo or swapped versions of every function. Seems like the general pattern is that the data structure is the last param. Am I off base?
accumulator, elementparameter ordering because as you fold, the
elementis the data, i.e. the thing that keeps changing.
fair enough. So far I've been mostly using fold to convert from array to object or back so it seemed more useful for me to take the accumulator as the second. There's always R.flip :)
Also I noticed that the links to associated line numbers on the doc site are gone. I did use that to quickly look at how the functions worked. Can we get those back? We could hide them behind the drop-down to reduce noise.
x => (_ => x)