Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
type ListBuilder a b = Writer (DList a) b Source
one :: a -> ListBuilder a () Source
many :: [a] -> ListBuilder a () Source
execListBuilder :: ListBuilder a b -> [a] Source
list :: ListBuilder a b -> [a] Source
runListBuilder :: ListBuilder a b -> (b, [a]) Source