-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R.groupBy and flyd.transduce #126
Comments
I did some investigation into this: the transducer version of the Flyd's transduce implementation requires the |
Hi,
I like flyd and its interoperability with R transducers.
However, I have some troubles with R.groupBy that I don't have with the other transducers ( ie R.map )
`var stream = flyd.stream()
var transduce = flyd.transduce ( R.groupBy( x => String( x%2 ) ), stream )
flyd.map( console.log , transduce )
stream(1)
stream(2)
console.log( transduce() )
`
Output is
undefined
and not the result of groupByI try
partitionBy
from transducers-js and it seems to work well.Thanks in advance for your reply
The text was updated successfully, but these errors were encountered: