Safe Haskell | None |
---|---|
Language | Haskell98 |
Abstraction for different kinds of builders.
Note that whenever a character encoding is used, it will be UTF8. For different behavior, please use the underlying library.
- type TextBuilder = Builder
- type BlazeBuilder = Builder
- class Monoid builder => Builder builder lazy | builder -> lazy, lazy -> builder where
- builderToLazy :: builder -> lazy
- flushBuilder :: builder
- class ToBuilder value builder where
- toBuilder :: value -> builder
- textToBuilder :: ToBuilder Text builder => Text -> builder
Documentation
type TextBuilder = Builder Source
Since 0.1.0.0
type BlazeBuilder = Builder Source
Since 0.1.0.0
class Monoid builder => Builder builder lazy | builder -> lazy, lazy -> builder where Source
Since 0.1.0.0
class ToBuilder value builder where Source
Since 0.1.0.0
ToBuilder Char Builder | |
ToBuilder Char Builder | |
ToBuilder ByteString Builder | |
ToBuilder ByteString Builder | |
ToBuilder Text Builder | |
ToBuilder Text Builder | |
ToBuilder Text Builder | |
ToBuilder Text Builder | |
ToBuilder Builder Builder | |
ToBuilder Builder Builder | |
(~) * a Char => ToBuilder [a] Builder | |
(~) * a Char => ToBuilder [a] Builder |
textToBuilder :: ToBuilder Text builder => Text -> builder Source
Provided for type disambiguation in the presence of OverloadedStrings.
Since 0.1.0.0