basement-0.0.12: Foundation scrap box of array & string
LicenseBSD-style
MaintainerFoundation
Safe HaskellNone
LanguageHaskell2010

Basement.String.Builder

Description

String builder

Synopsis

Documentation

data Builder #

Instances

Instances details
Semigroup Builder # 
Instance details

Defined in Basement.String.Builder

Monoid Builder # 
Instance details

Defined in Basement.String.Builder

runUnsafe :: PrimMonad prim => Builder -> prim String #

run the given builder and return the generated String

prefer run

Emit functions

emit :: String -> Builder #

add a string in the builder

emitChar :: Char -> Builder #

emit a UTF8 char in the builder

unsafe