packages feed

iconv-typed 0.1.0.0 → 0.1.0.1

raw patch · 1 files changed

+5/−10 lines, 1 files

Files

iconv-typed.cabal view
@@ -1,5 +1,5 @@ name:                iconv-typed-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Type safe iconv wrapper homepage:            https://github.com/adinapoli/iconv-typed#readme license:             BSD3@@ -12,16 +12,14 @@ cabal-version:       >=1.10  description:-  [iconv-typed]+  [Type safe iconv wrapper]   .   An experiment in bringing type safety to the <http://hackage.haskell.org/package/iconv iconv> package.   .   [Usage Example]-  This is _almost_ a drop-in replacement. Compare the original code from `iconv`:   .-  > {-# LANGUAGE KindSignatures #-}-  > {-# LANGUAGE DataKinds #-}-  > {-# LANGUAGE OverloadedStrings #-}+  This is almost a drop-in replacement. Compare the original code from `iconv`:+  .   > module Main where   >   > import Codec.Text.IConv@@ -31,9 +29,6 @@   .   With the equivalent in `iconv-typed`:   .-  > {-# LANGUAGE KindSignatures #-}-  > {-# LANGUAGE DataKinds #-}-  > {-# LANGUAGE OverloadedStrings #-}   > module Main where   >   > import Codec.Text.IConv.Typed@@ -42,7 +37,7 @@   > main = print $ convert (E :: E "UTF-8") (E :: E "LATIN1") "hello"   .   As a result, this code will compile and run only if the passed encoding resolves to a supported-  encoding (as retrieved at compile time by calling `iconv -l`). For example, the following won't compile:+  encoding (as retrieved at compile time by calling "iconv -l"). For example, the following won't compile:   .   > main = print $ convert (E :: E "UFT-8") (E :: E "LATIN1") "hello"   .