packages feed

OpenAFP-Utils 1.4.0 → 1.4.1

raw patch · 3 files changed

+9/−3 lines, 3 filesdep −iconv

Dependencies removed: iconv

Files

ChangeLog view
@@ -1,3 +1,7 @@+# 1.4.1++* Remove iconv dependency.+ # 1.4.0  * Switch to hashtables & hashable packages for GHC 7.8.1 compatibility.
OpenAFP-Utils.cabal view
@@ -1,5 +1,5 @@ Name:               OpenAFP-Utils-Version:            1.4.0+Version:            1.4.1 License:            PublicDomain License-file:       LICENSE Author:             Audrey Tang@@ -23,7 +23,7 @@  Executable afp-dump     Main-is:            afp-dump.hs-    Build-depends:      OpenAFP >= 1.4, base >= 4 && < 5, bytestring, containers, iconv, xhtml+    Build-depends:      OpenAFP >= 1.4, base >= 4 && < 5, bytestring, containers, xhtml     Extensions:         DeriveDataTypeable, PatternGuards  Executable afp-page
afp-dump.hs view
@@ -1,6 +1,5 @@ module Main where import Text.XHtml-import Codec.Text.IConv import OpenAFP hiding ((!)) import qualified Data.Set as Set import qualified Data.ByteString as S@@ -174,6 +173,9 @@     codeName c         | isJust $ find (not . isDigit) c   = c         | otherwise                         = "ibm-" ++ c++-- TODO: Rewrite with GHC IO Encoding+convertStrictly _ _ _ = Right ()  convert' :: String -> String -> ByteString -> Maybe ByteString convert' from to str = case convertStrictly from to strLazy of