[commit: bytestring] ghc-7.6: Mention the Builder in the package description (c7a1e0f)
Paolo Capriotti
p.capriotti at gmail.com
Thu Sep 6 12:29:20 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/bytestring
On branch : ghc-7.6
http://hackage.haskell.org/trac/ghc/changeset/c7a1e0fa851ab21dbca24aed199c745d2f7862ac
>---------------------------------------------------------------
commit c7a1e0fa851ab21dbca24aed199c745d2f7862ac
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Wed Sep 5 22:47:37 2012 +0000
Mention the Builder in the package description
>---------------------------------------------------------------
bytestring.cabal | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/bytestring.cabal b/bytestring.cabal
index 393b19d..72835d4 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -16,7 +16,7 @@ Description:
* Strict 'ByteString's keep the string as a single large array. This
makes them convenient for passing data between C and Haskell.
.
- * Lazy 'ByteStrings' use a lazy list of strict chunks which makes it
+ * Lazy 'ByteString's use a lazy list of strict chunks which makes it
suitable for I\/O streaming tasks.
.
The @Char8@ modules provide a character-based view of the same
@@ -24,6 +24,10 @@ Description:
binary and 8-bit character content (which is common in many file formats
and network protocols).
.
+ The 'Builder' module provides an efficient way to build up 'ByteString's
+ in an ad-hoc way by repeated concatenation. This is ideal for fast
+ serialisation or pretty printing.
+ .
'ByteString's are not designed for Unicode. For Unicode strings you should
use the 'Text' type from the @text@ package.
.
More information about the Cvs-libraries
mailing list