packages feed

explicit-iomodes 0.6.0.3 → 0.6.0.4

raw patch · 5 files changed

+28/−16 lines, 5 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

NEWS view
@@ -1,3 +1,12 @@+0.6.0.3++(Released on: Thu Aug 11 22:17:23 UTC 2011)++* Switched from darcs to git on github.++* Support base-4.4 and tested with ghc-7.2.1.++ 0.6.0.2  (Released on: Sat Jan 22 21:45:47 UTC 2011)
System/IO/ExplicitIOModes.hs view
@@ -6,6 +6,10 @@            , ScopedTypeVariables   #-} +#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Trustworthy #-}+#endif+ ------------------------------------------------------------------------------- -- | -- Module      :  System.IO.ExplicitIOModes@@ -42,14 +46,10 @@       -- ** IO Modes        -- | Types that represent the IOMode a 'Handle' can be in.-    , ReadMode-    , WriteMode-    , AppendMode-    , ReadWriteMode+    , ReadMode, WriteMode, AppendMode, ReadWriteMode        -- *** Grouping the IOMode types.-    , ReadModes-    , WriteModes+    , ReadModes, WriteModes        -- *** A value-level IOMode.     , IOMode(..)@@ -61,9 +61,7 @@       -- | These standard handles have concrete IOModes by default which work       -- for the majority of cases. In the rare occasion that you know these       -- handles have different IOModes you can 'cast' them.-    , stdin-    , stdout-    , stderr+    , stdin, stdout, stderr      , cast     , CheckMode@@ -669,6 +667,3 @@ hSetNewlineMode ∷ Handle ioMode → SIO.NewlineMode → IO () hSetNewlineMode = wrap SIO.hSetNewlineMode #endif----- The End ---------------------------------------------------------------------
System/IO/ExplicitIOModes/Internal.hs view
@@ -1,4 +1,8 @@-{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax, DeriveDataTypeable #-}+{-# LANGUAGE CPP, NoImplicitPrelude, UnicodeSyntax, DeriveDataTypeable #-}++#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Unsafe #-}+#endif  module System.IO.ExplicitIOModes.Internal where 
System/IO/ExplicitIOModes/Unsafe.hs view
@@ -1,4 +1,8 @@-{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax #-}+{-# LANGUAGE CPP, NoImplicitPrelude, UnicodeSyntax #-}++#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Unsafe #-}+#endif  module System.IO.ExplicitIOModes.Unsafe ( regularHandle                                         , wrap, wrap2
explicit-iomodes.cabal view
@@ -1,5 +1,5 @@ name:          explicit-iomodes-version:       0.6.0.3+version:       0.6.0.4 cabal-version: >=1.6 build-type:    Simple license:       BSD3@@ -31,7 +31,7 @@ Library   GHC-Options: -Wall -  build-depends: base                 >= 4     && < 4.5+  build-depends: base                 >= 4     && < 4.6                , base-unicode-symbols >= 0.1.1 && < 0.3                , tagged               >= 0.0   && < 0.3   exposed-modules: System.IO.ExplicitIOModes