Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Data.Chatty.ListBuilder
Documentation
class Monad l => ListBuilder l i | l -> i where Source #
Instances
ListBuilder (LazyBuilder i) i Source # | |
Defined in Data.Chatty.ListBuilder | |
ListBuilder (StrictBuilder i) i Source # | |
Defined in Data.Chatty.ListBuilder |
newtype StrictBuilderT i m a Source #
Constructors
StrictBuilder | |
Fields
|
Instances
type StrictBuilder i = StrictBuilderT i Identity Source #
strictBuild :: StrictBuilderT i Identity () -> [i] Source #
newtype LazyBuilderT i m a Source #
Constructors
LazyBuilder | |
Fields
|
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 #