utf8-string 0.3.2 → 0.3.3
raw patch · 2 files changed
+4/−1 lines, 2 files
Files
- System/IO/UTF8.hs +3/−0
- utf8-string.cabal +1/−1
System/IO/UTF8.hs view
@@ -22,6 +22,7 @@ , readFile , writeFile , appendFile+ , interact , getContents , hGetLine , hGetContents@@ -120,3 +121,5 @@ getContents :: IO String getContents = liftM decodeString IO.getContents +interact :: (String -> String) -> IO ()+interact f = IO.interact (encodeString . f . decodeString)
utf8-string.cabal view
@@ -1,5 +1,5 @@ Name: utf8-string-Version: 0.3.2+Version: 0.3.3 Author: Eric Mertens Maintainer: emertens@galois.com License: BSD3