These are chat archives for ramda/ramda
R.apright? They seem to imply that it only works with lists but obviously
apis much more than that and with the dispatching in there it works with any functor.
Applyto work with
ap. At the time those docs were written, i thought it was best to focus on list applications, since that is all that is explicitly supported by the main lib. now i think it might be smart to illustrate the broader use of such functions, as we recently did with
commute. see: ramda/ramda#1203
liftsomehow? They seem quite similar.
do you think this is stupid?
const setProp = curry((obj, prop, value) => obj[prop] = value);
const render = pipe(formatCoords, setProp(document.body, 'innerHTML'));