Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type DynBuilder = BuilderFor DynamicBackend
- data DynamicBackend
- toStrictByteString :: DynBuilder -> ByteString
- toLazyByteString :: DynBuilder -> ByteString
- hPutBuilderLen :: Handle -> DynBuilder -> IO Int
- hPutBuilder :: Handle -> DynBuilder -> IO ()
- sendBuilder :: Socket -> DynBuilder -> IO Int
Documentation
type DynBuilder = BuilderFor DynamicBackend Source #
Builder with a fixed set of backends. This helps reducing code size and unoptimised code especially on complex/recursive structures, at the cost of extensibility.
data DynamicBackend Source #
Instances
Buildable DynamicBackend Source # | |
Defined in Mason.Builder.Dynamic |
Runners
hPutBuilderLen :: Handle -> DynBuilder -> IO Int Source #
hPutBuilder :: Handle -> DynBuilder -> IO () Source #
sendBuilder :: Socket -> DynBuilder -> IO Int Source #