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

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Push.Example

Synopsis

Documentation

test :: MonadPush Int m => m () Source #

A simple test routine, generic over choice of MonadPush instance.

testMonad :: IO () Source #

Using the pure Push monad

testTransformer :: IO () Source #

Using PushT over IO