apart-0.1.3: Get all your structure and rip it apart.
Data.Apart.Structures.Stack
type Stack = Cofree Maybe Source #
Or non-empty list.
insert :: a -> Stack a -> Stack a Source #
singleton :: a -> Stack a Source #
foldaway :: Foldable t => t a -> Segmented Stack a Source #
final :: Eq a => Predicate (Stack a) Source #