Skip to content

Commit

Permalink
Version 1: remove outdated IO wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Jan 23, 2015
1 parent f80e60f commit 31969fd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 184 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.markdown
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1
-----
* Remove out all the old utf8 IO support. GHC supports utf8 now.

0.3.8
-----
* Performance tweaks
Expand Down
41 changes: 0 additions & 41 deletions System/Environment/UTF8.hs

This file was deleted.

130 changes: 0 additions & 130 deletions System/IO/UTF8.hs

This file was deleted.

16 changes: 3 additions & 13 deletions utf8-string.cabal
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Name: utf8-string
Version: 0.3.8
Version: 1
Author: Eric Mertens
Maintainer: emertens@galois.com
License: BSD3
License-file: LICENSE
Homepage: http://github.com/glguy/utf8-string/
Synopsis: Support for reading and writing UTF8 Strings
Description: A UTF8 layer for IO and Strings. The utf8-string
Description: A UTF8 layer for Strings. The utf8-string
package provides operations for encoding UTF8
strings to Word8 lists and back, and for reading and
writing UTF8 without truncation.
Expand All @@ -15,24 +15,14 @@ Build-type: Simple
cabal-version: >= 1.2
Extra-Source-Files: CHANGELOG.markdown


flag bytestring-in-base
default: False

library
Ghc-options: -W -O2

if flag(bytestring-in-base)
build-depends: base >= 2.0 && < 2.2
cpp-options: -DBYTESTRING_IN_BASE
else
build-depends: base < 2.0 || >= 3, bytestring >= 0.9
build-depends: base >= 4.3, bytestring >= 0.9

Extensions: CPP
Exposed-modules: Codec.Binary.UTF8.String
Codec.Binary.UTF8.Generic
System.IO.UTF8
System.Environment.UTF8
Data.String.UTF8
Data.ByteString.UTF8
Data.ByteString.Lazy.UTF8

0 comments on commit 31969fd

Please sign in to comment.