packages feed

bytestring-builder 0.10.4.0.2 → 0.10.4.1.0

raw patch · 6 files changed

+17/−18 lines, 6 filesdep ~base

Dependency ranges changed: base

Files

bytestring-builder.cabal view
@@ -1,5 +1,5 @@ name:                bytestring-builder-version:             0.10.4.0.2+version:             0.10.4.1.0 synopsis:            The new bytestring builder, packaged outside of GHC description:   This is the bytestring builder that is debuting in bytestring-0.10.4.0, which@@ -50,7 +50,7 @@ source-repository this   type:     git   location: http://github.com/lpsmith/bytestring-builder-  tag:      v0.10.4.0.2+  tag:      v0.10.4.1.0  Flag bytestring_has_builder   default: True
src/Data/ByteString/Builder.hs view
@@ -226,15 +226,13 @@     , doubleLE      -- ** Character encodings+    -- | Conversion from 'Char' and 'String' into 'Builder's in various encodings.      -- *** ASCII (Char7)     -- | The ASCII encoding is a 7-bit encoding. The /Char7/ encoding implemented here     -- works by truncating the Unicode codepoint to 7-bits, prefixing it     -- with a leading 0, and encoding the resulting 8-bits as a single byte.-    -- For the codepoints 0-127 this corresponds the ASCII encoding. In-    -- "Data.ByteString.Builder.ASCII", we also provide efficient-    -- implementations of ASCII-based encodings of numbers (e.g., decimal and-    -- hexadecimal encodings).+    -- For the codepoints 0-127 this corresponds the ASCII encoding.     , char7     , string7 @@ -242,19 +240,14 @@     -- | The ISO/IEC 8859-1 encoding is an 8-bit encoding often known as Latin-1.     -- The /Char8/ encoding implemented here works by truncating the Unicode codepoint     -- to 8-bits and encoding them as a single byte. For the codepoints 0-255 this corresponds-    -- to the ISO/IEC 8859-1 encoding. Note that you can also use-    -- the functions from "Data.ByteString.Builder.ASCII", as the ASCII encoding-    -- and ISO/IEC 8859-1 are equivalent on the codepoints 0-127.+    -- to the ISO/IEC 8859-1 encoding.     , char8     , string8      -- *** UTF-8     -- | The UTF-8 encoding can encode /all/ Unicode codepoints. We recommend     -- using it always for encoding 'Char's and 'String's unless an application-    -- really requires another encoding. Note that you can also use the-    -- functions from "Data.ByteString.Builder.ASCII" for UTF-8 encoding,-    -- as the ASCII encoding is equivalent to the UTF-8 encoding on the Unicode-    -- codepoints 0-127.+    -- really requires another encoding.     , charUtf8     , stringUtf8 
src/Data/ByteString/Builder/ASCII.hs view
@@ -14,7 +14,13 @@ -- module Data.ByteString.Builder.ASCII     (-      -- ** ASCII text+      -- ** Formatting numbers as text+      -- | Formatting of numbers as ASCII text.+      --+      -- Note that you can also use these functions for the ISO/IEC 8859-1 and+      -- UTF-8 encodings, as the ASCII encoding is equivalent on the +      -- codepoints 0-127.+       -- *** Decimal numbers       -- | Decimal encoding of numbers using ASCII encoded characters.       int8Dec
src/Data/ByteString/Builder/Internal.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE ScopedTypeVariables, CPP, BangPatterns, RankNTypes #-}-#if __GLASGOW_HASKELL__ >= 701+#if __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Unsafe #-} #endif {-# OPTIONS_HADDOCK hide #-}
src/Data/ByteString/Builder/Prim/Internal.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE ScopedTypeVariables, CPP, BangPatterns #-}-#if __GLASGOW_HASKELL__ >= 701+#if __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Unsafe #-} #endif {-# OPTIONS_HADDOCK hide #-}@@ -69,7 +69,7 @@ import Foreign import Prelude hiding (maxBound) -#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ < 611+#if !(__GLASGOW_HASKELL__ >= 612) -- ghc-6.10 and older do not support {-# INLINE CONLIKE #-} #define CONLIKE #endif
src/Data/ByteString/Short/Internal.hs view
@@ -2,7 +2,7 @@              ForeignFunctionInterface, MagicHash, UnboxedTuples,              UnliftedFFITypes #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-}-#if __GLASGOW_HASKELL__ >= 701+#if __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Unsafe #-} #endif {-# OPTIONS_HADDOCK hide #-}