Skip to content

Commit 832ac99

Browse files
ByteStringBuilder alias
1 parent 46a3aeb commit 832ac99

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Data/ByteString/Builder.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ module Data.ByteString.Builder
171171
(
172172
-- * The Builder type
173173
Builder
174+
, ByteStringBuilder
174175

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

269+
type ByteStringBuilder = Builder
270+
268271
-- | Execute a 'Builder' and return the generated chunks as a 'L.LazyByteString'.
269272
-- The work is performed lazy, i.e., only when a chunk of the 'L.LazyByteString'
270273
-- is forced.

0 commit comments

Comments
 (0)