wumpus-basic-0.15.0: Basic objects and system code built on Wumpus-Core.
Wumpus.Basic.Utils.HList
Contents
Description
Hughes list, ...
Synopsis
type H a = [a] -> [a]Source
emptyH :: H aSource
wrapH :: a -> H aSource
consH :: a -> H a -> H aSource
snocH :: H a -> a -> H aSource
appendH :: H a -> H a -> H aSource
unfoldrH :: (b -> Maybe (a, b)) -> b -> H aSource
veloH :: (a -> H b) -> [a] -> H bSource
velo consumes the list as per map, but builds it back as a Hughes list - so items can be dropped replaced, repeated, etc...
concatH :: [H a] -> H aSource
toListH :: H a -> [a]Source
fromListH :: [a] -> H aSource