These are chat archives for ramda/ramda
Nothingfunctions internally. In the non-Maybe build
R.always(undefined). This would achieve behavior equal to today. Then to do the Maybe build one would just have to replace
Nothingwith actual functions.
Nothingwouldn't need to be a function. It could be
Nothing = undefinedin the non-Maybe build. Or it could be regex'ed away.
Maybe [Maybe String], how would I derive from it a value of type
Maybe Stringby concatenating the strings?
R.pipe(R.map(R.reduce(R.concat, Maybe.empty)), R.chain(R.identity))
join : Monad m => m (m a) -> m a?
var join = R.chain(R.identity);
fold : (Foldable f, Monoid a) => f a -> a
fold : (Foldable f, Monoid a) => a -> f a -> a
chainrather than whatever it's doing now.
R.flattenworked as you suggest.
.applying arguments as array being inefficient vs. invoking a function the usual style, does it still hold?