Safe Haskell | Safe |
---|---|
Language | Haskell98 |
An outout buffer for ByteStrings that keeps track of line and column numbers.
Documentation
write :: ByteString -> Buffer -> Buffer Source #
Append a ByteString to the output buffer. It is an error for the string to contain newlines.
toLazyByteString :: Buffer -> ByteString Source #
Return the contents of the output buffer as a lazy ByteString.