These are chat archives for ramda/ramda
var inter = y => R.compose( R.init, R.reduceRight((acc, x) => R.concat([x, y], acc))() ) JSON.stringify(inter()([,,])) //=> [,,,,]
tailin the vain hope that one day we'll have an efficient list implementation. :smile:
mapdelegates to a fantasy land map in case it exists, but that is not mentioned in the documentation, so I was thinking there might be things I could miss?
ofdoesn't dispatch, you should just be able to compose with it, e.g.
liftimplemented in terms of
mapso that may work
liftto any arity; or you can specify with
lift? I think of it as the Algebraic Data Types, none of which would directly require
liftis something you can derive.
liftis list-focused, so relies on
reduceso probably not generally applicable as is
apit oughta work