FastPush-0.1.0.3: A monad and monad transformer for pushing things onto a stack very fast.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Push.Class

Documentation

class Monad m => MonadPush a m where Source #

Minimal complete definition

push

Methods

push :: a -> m () Source #

Push an item onto the stack

Instances

MVector v p => MonadPush p (Push v p) Source # 

Methods

push :: p -> Push v p () Source #

(Monad m, MVector v p) => MonadPush p (PushT v p m) Source # 

Methods

push :: p -> PushT v p m () Source #