Distribution.Compat.DList
Description
A very simple difference list.
data DList a Source #
Difference list.
Defined in Distribution.Compat.DList
Methods
mempty :: DList a Source #
mappend :: DList a -> DList a -> DList a Source #
mconcat :: [DList a] -> DList a Source #
(<>) :: DList a -> DList a -> DList a Source #
sconcat :: NonEmpty (DList a) -> DList a Source #
stimes :: Integral b => b -> DList a -> DList a Source #
runDList :: DList a -> [a] Source #
empty :: DList a Source #
Since: Cabal-3.4.0.0
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 #