These are chat archives for ramda/ramda
e.g check if Null/undefined?
So @raine, is the idea something like
on('end', fn, reduce(stream))
reducewould return a stream that always contains at most a single value, and that only if the original stream completes?
@CrossEye, something like
R.and(typeEq('Array'), R.pipe(R.nth(2), R.equals(R.__, 0)))
R.bothdoesn't work in this case
ifElse? Honest curiosity here, not snark. I'm trying to figure out what it would mean to have absolutely no dependence on order of evaluation, and don't see a good solution for the sample above that doesn't somehow depend on that ordering.
anyPass, I always thought of the short-circuiting as part of the API. I never felt that way about
either, so I was a lot less concerned about giving it up.
compose(map(f), map(g), map(h))or
map(compose(f, g, h)), right? Because in neither case do I create intermediate lists?