You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flattenArrayStream :: forall a. Stream (Array a) -> Now (Stream a)
flattenArrayStream input = do
ss <- liftEffect sinkStream'
liftEffect $ subscribe (foldMap (\x -> pushSink x ss.sink)) input
pure ss.stream
Perhaps a new combinator that does something like this the "proper" way (perhaps without using Effect?) would be useful?
The text was updated successfully, but these errors were encountered:
Hello!
Currently, I have this thing in my code:
Perhaps a new combinator that does something like this the "proper" way (perhaps without using Effect?) would be useful?
The text was updated successfully, but these errors were encountered: