Cabal-3.0.0.0: A framework for packaging Haskell software
Distribution.Compat.DList
Description
A very simple difference list.
data DList a Source #
Difference list.
Defined in Distribution.Compat.DList
Methods
(<>) :: DList a -> DList a -> DList a #
sconcat :: NonEmpty (DList a) -> DList a #
stimes :: Integral b => b -> DList a -> DList a #
mempty :: DList a #
mappend :: DList a -> DList a -> DList a #
mconcat :: [DList a] -> DList a #
runDList :: DList a -> [a] Source #
singleton :: a -> DList a Source #
Make DList with containing single element.
DList
fromList :: [a] -> DList a Source #
toList :: DList a -> [a] Source #
snoc :: DList a -> a -> DList a Source #