Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types
newtype Builder :: Nat -> Type where Source #
A builder parameterized by the maximum number of bytes it uses when executed.
Instances
ToBoundedBuilder (Builder n) Source # | Identity |
Defined in Data.Bytes.Builder.Bounded.Class type BoundedBuilderLength (Builder n) :: Nat Source # | |
type BoundedBuilderLength (Builder n) Source # | |
Defined in Data.Bytes.Builder.Bounded.Class |
Construct
construct :: (forall s. MutableByteArray s -> Int -> ST s Int) -> Builder n Source #
Constructor for Builder
that works on a function with lifted
arguments instead of unlifted ones. This is just as unsafe as the
actual constructor.