Modulebasement-0.0.16Haskell2010
Basement.Block.Builder
Block builder
Contents
Synopsis
- data Builder
- value run
- value emit
- value emitPrim
- value emitString
- value emitUTF8Char
- value unsafeRunString
- Packagebasement-0.0.16
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceBuilder.hs
run the given builder and return the generated block
Emit functions
add a Block in the builder
add a string in the builder
emit a UTF8 char in the builder
this function may be replaced by `emit :: Encoding -> Char -> Builder`
unsafe
run the given builder and return a UTF8String
this action is unsafe as there is no guarantee upon the validity of the content of the built block.