MissingK-0.0.0.2: src/Data/Stack.hs
module Data.Stack where type Stack a = [a] pop :: Stack a -> (a, Stack a) pop (x:xs) = (x,xs) push :: a -> Stack a -> Stack a push = (:) empty :: Stack a empty = []
module Data.Stack where type Stack a = [a] pop :: Stack a -> (a, Stack a) pop (x:xs) = (x,xs) push :: a -> Stack a -> Stack a push = (:) empty :: Stack a empty = []