[commit: packages/bytestring] ghc-head: Mention ShortByteString in the package description (9c3ee74)

git at git.haskell.org git
Thu Oct 10 08:56:17 UTC 2013


Repository : ssh://git at git.haskell.org/bytestring

On branch  : ghc-head
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/9c3ee746cf1d95ea67d46fae09c83cdce52683d2

>---------------------------------------------------------------

commit 9c3ee746cf1d95ea67d46fae09c83cdce52683d2
Author: Duncan Coutts <duncan at community.haskell.org>
Date:   Sat Oct 5 20:42:44 2013 +0100

    Mention ShortByteString in the package description
    
    Also update a couple more copyright dates and fix a doc module name.


>---------------------------------------------------------------

9c3ee746cf1d95ea67d46fae09c83cdce52683d2
 Data/ByteString/Short/Internal.hs |    2 +-
 bytestring.cabal                  |    8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Data/ByteString/Short/Internal.hs b/Data/ByteString/Short/Internal.hs
index 8d1195e..4898c78 100644
--- a/Data/ByteString/Short/Internal.hs
+++ b/Data/ByteString/Short/Internal.hs
@@ -7,7 +7,7 @@
 {-# OPTIONS_HADDOCK hide #-}
 
 -- |
--- Module      : Data.ByteString.Short
+-- Module      : Data.ByteString.Short.Internal
 -- Copyright   : (c) Duncan Coutts 2012-2013
 -- License     : BSD-style
 --
diff --git a/bytestring.cabal b/bytestring.cabal
index f8e36b9..208cffc 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -28,6 +28,10 @@ Description:
     in an ad-hoc way by repeated concatenation. This is ideal for fast
     serialisation or pretty printing.
     .
+    There is also a 'ShortByteString' type which has a lower memory overhead
+    and can can be converted to or from a 'ByteString', but supports very few
+    other operations. It is suitable for keeping many short strings in memory.
+    .
     'ByteString's are not designed for Unicode. For Unicode strings you should
     use the 'Text' type from the @text@ package.
     .
@@ -40,10 +44,10 @@ License:             BSD3
 License-file:        LICENSE
 Category:            Data
 Copyright:           Copyright (c) Don Stewart          2005-2009,
-                               (c) Duncan Coutts        2006-2012,
+                               (c) Duncan Coutts        2006-2013,
                                (c) David Roundy         2003-2005,
                                (c) Jasper Van der Jeugt 2010,
-                               (c) Simon Meier          2010-2011.
+                               (c) Simon Meier          2010-2013.
 
 Author:              Don Stewart,
                      Duncan Coutts




More information about the ghc-commits mailing list