These are chat archives for ramda/ramda

16th
Dec 2018
Johnny Hauser
@m59peacemaker
Dec 16 2018 04:42
I might end up rubber ducking here.... having trouble doing it in my js comments
If you have a bunch of functors, and you map them to a function that takes two arguments, you get a bunch of functors whose values are functions with the original value applies, waiting on the last value to produce a result....
So, then, I'm trying to combine them some kind of way
Ah yeah, so if I combine those into one that kind of functor (it's an event), then it's an event emitting partially applied functions
scan (partiallyAppliedFunction => acc => partiallyAppliedFunction(acc)) (thatFunctor)
Johnny Hauser
@m59peacemaker
Dec 16 2018 04:48
but that can be simplified...
scan (identity) (thatFunctor)
wat
I think that's right, but it blew up my brain
Alexander Lichter
@manniL
Dec 16 2018 22:21
@CrossEye Will try it out! Many thanks :relaxed: Also for the hint regarding lift