text-binary 0.1.0 → 0.2.0
raw patch · 2 files changed
+8/−3 lines, 2 filesdep ~text
Dependency ranges changed: text
Files
- Data/Text/Binary.hs +3/−0
- text-binary.cabal +5/−3
Data/Text/Binary.hs view
@@ -1,7 +1,9 @@+{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Data.Text.Binary where +#if !(MIN_VERSION_text(1,2,1)) import Control.Applicative ((<$>)) import qualified Data.Text as T import qualified Data.Text.Encoding as T@@ -16,3 +18,4 @@ instance Binary L.Text where put = put . L.encodeUtf8 get = L.decodeUtf8 <$> get+#endif
text-binary.cabal view
@@ -1,8 +1,10 @@ name: text-binary-version: 0.1.0+version: 0.2.0 synopsis: Binary instances for text types-description: - The library provides binary instances for strict and lazy text types.+description:+ A compatibility layer providing Binary instances for strict+ and lazy text types for versions older than 1.2.1 of+ <https://hackage.haskell.org/package/text>. license: BSD3 license-file: LICENSE cabal-version: >= 1.6