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 Source #

Instances

Instances details
Semigroup Builder Source # 
Instance details

Defined in Basement.String.Builder

Monoid Builder Source # 
Instance details

Defined in Basement.String.Builder

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

run the given builder and return the generated String

prefer run

Emit functions

emit :: String -> Builder Source #

add a string in the builder

emitChar :: Char -> Builder Source #

emit a UTF8 char in the builder

unsafe