Skip to content

Commit

Permalink
ByteStringBuilder alias
Browse files Browse the repository at this point in the history
  • Loading branch information
BebeSparkelSparkel committed Apr 13, 2024
1 parent 46a3aeb commit 832ac99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Data/ByteString/Builder.hs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ module Data.ByteString.Builder
(
-- * The Builder type
Builder
, ByteStringBuilder

-- * Executing Builders
-- | Internally, 'Builder's are buffer-filling functions. They are
Expand Down Expand Up @@ -265,6 +266,8 @@ import Foreign
import GHC.Base (unpackCString#, unpackCStringUtf8#,
unpackFoldrCString#, build)

type ByteStringBuilder = Builder

-- | Execute a 'Builder' and return the generated chunks as a 'L.LazyByteString'.
-- The work is performed lazy, i.e., only when a chunk of the 'L.LazyByteString'
-- is forced.
Expand Down

0 comments on commit 832ac99

Please sign in to comment.