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
- class ToBuilder value builder where
- toBuilder :: value -> builder
- textToBuilder :: ToBuilder Text builder => Text -> builder