License | BSD-style |
---|---|
Maintainer | Foundation |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Block builder
Documentation
run :: PrimMonad prim => Builder -> prim (Block Word8) Source #
run the given builder and return the generated block
Emit functions
emitString :: String -> Builder Source #
add a string in the builder
emitUTF8Char :: Char -> Builder Source #
emit a UTF8 char in the builder
this function may be replaced by `emit :: Encoding -> Char -> Builder`