-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | The basic stack type -- -- Please see README.md @package stack-type @version 0.1.0.0 -- | The basic stack type module Data.Stack type Stack s a = State [s] a push :: s -> Stack s () pop :: Stack s s runStack :: Stack s a -> [s] -> (a, [s])