hascard-0.2.0.0: A TUI for reviewing notes using 'flashcards' written with markdown-like syntax.

Safe HaskellSafe
LanguageHaskell2010

Stack

Synopsis

Documentation

type Stack a = OSet a Source #

insert :: Ord a => a -> Stack a -> Stack a Source #

removeLast :: Ord a => Stack a -> Stack a Source #

head :: Stack a -> a Source #

last :: Stack a -> a Source #

tail :: Ord a => Stack a -> [a] Source #

elemAt :: Stack a -> Int -> Maybe a Source #

fromList :: Ord a => [a] -> Stack a Source #

toList :: Foldable t => t a -> [a] #

List of elements of a structure, from left to right.