Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Monad l => ListBuilder l i | l -> i where Source #
Instances
ListBuilder (LazyBuilder i) i Source # | |
Defined in Data.Chatty.ListBuilder li :: i -> LazyBuilder i () Source # buildList :: LazyBuilder i () -> [i] Source # | |
ListBuilder (StrictBuilder i) i Source # | |
Defined in Data.Chatty.ListBuilder li :: i -> StrictBuilder i () Source # buildList :: StrictBuilder i () -> [i] Source # |
newtype StrictBuilderT i m a Source #
StrictBuilder | |
|
Instances
type StrictBuilder i = StrictBuilderT i Identity Source #
strictBuild :: StrictBuilderT i Identity () -> [i] Source #
newtype LazyBuilderT i m a Source #
LazyBuilder | |
|
Instances
type LazyBuilder i = LazyBuilderT i Identity Source #
lazyBuild :: LazyBuilderT i Identity () -> [i] Source #
lis :: ListBuilder l i => [i] -> l () Source #
lit :: ListBuilder l (a, b) => a -> b -> l () Source #
(>-<) :: ListBuilder l (a, b) => a -> b -> l () Source #