coroutine-object-0.3.0: Object-oriented programming realization using coroutine

Safe HaskellSafe
LanguageHaskell98

Control.Monad.Trans.Crtn.Queue

Documentation

data Queue a Source

Constructors

Queue 

Fields

fqueue :: [a]
 
bqueue :: [a]
 

Instances

Show a => Show (Queue a) Source 

enqueue :: a -> Queue a -> Queue a Source

dequeue :: Queue a -> (Queue a, Maybe a) Source