pandora-0.1.0: A box of patterns and paradigms
Pandora.Paradigm.Structure.Stack
type Stack a = (Cofree :>: Maybe) a Source #
push :: a -> Stack a -> Stack a Source #
top :: Stack a -> Maybe a Source #
pop :: Stack a -> Stack a Source #