Could Streams be monads?
#602
ivanperez-keera
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A while back we were asked whether
Streamcould be aMonad.With the current type class constraints, it can't, because you can't store any
ain aStream a. However, it could perhaps be if we use a form of constrained monad withRebindableSyntax, or if we makeStream afully polymorphic ina.Beta Was this translation helpful? Give feedback.
All reactions