Permalink
Browse files

Expose the Buffer constructor.

This is necessary for an optimization in Warp, where we already have a
pool of raw buffers available which I'd like to reuse for blaze-builder.
Relevant issue: yesodweb/wai#198
  • Loading branch information...
1 parent 8183a72 commit b7d483d48cd3e1fb035fd77e92ff89629a949675 @snoyberg snoyberg committed Nov 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Blaze/ByteString/Builder/Internal/Buffer.hs
@@ -18,7 +18,7 @@
--
module Blaze.ByteString.Builder.Internal.Buffer (
-- * Buffers
- Buffer
+ Buffer (..)
-- ** Status information
, freeSize

0 comments on commit b7d483d

Please sign in to comment.