countable-0.2: Countable, Searchable, Finite, Empty classes

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Countable

Documentation

countDown :: Countable a => a -> [a] Source

countDownUp :: (Countable down, Countable up) => (down, up) -> Maybe (down, up) Source

countUpDown :: (Countable up, Countable down) => (up, down) -> Maybe (up, down) Source

finalIteration :: (a -> Maybe a) -> a -> a Source