Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- null :: forall action item. Monad action => StateT (Producer action item) action Bool
- head :: forall action item. Monad action => StateT (Producer action item) action (Step item)
- push :: forall up action item. Monad action => item -> StateT (ProducerPlus up action item) action ()
- pop :: forall action item. Monad action => StateT (Producer action item) action (Step item)
State actions
null :: forall action item. Monad action => StateT (Producer action item) action Bool Source #
Test whether the state is an empty stream
head :: forall action item. Monad action => StateT (Producer action item) action (Step item) Source #
Peek at the first item in the stream state