data Step s a Source #
A stream is a succession of Steps. A Yield produces a single value and the next state of the stream. Stop indicates there are no more values in the stream.
Step
Yield
Stop
Constructors
Defined in Streamly.Internal.Data.Stream.StreamD.Step
Methods
fmap :: (a -> b) -> Step s a -> Step s b Source #
(<$) :: a -> Step s b -> Step s a Source #