chunked-data-0.3.1: Typeclasses for dealing with various chunked data representations

Safe HaskellSafe
LanguageHaskell2010

Data.Builder

Description

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.

Synopsis

Documentation

type TextBuilder = Builder Source #

Since 0.1.0.0

type BlazeBuilder = Builder Source #

Since 0.1.0.0

type ByteStringBuilder = Builder Source #

Since 0.3.0.0

class Monoid builder => Builder builder lazy | builder -> lazy, lazy -> builder where Source #

Since 0.1.0.0

Minimal complete definition

builderToLazy, flushBuilder

Methods

builderToLazy :: builder -> lazy Source #

Since 0.1.0.0

flushBuilder :: builder Source #

Since 0.1.0.0

textToBuilder :: ToBuilder Text builder => Text -> builder Source #

Provided for type disambiguation in the presence of OverloadedStrings.

Since 0.1.0.0