bluefin 0.0.9.0 → 0.0.10.0
raw patch · 3 files changed
+29/−2 lines, 3 filesdep ~bluefin-internalPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: bluefin-internal
API changes (from Hackage documentation)
+ Bluefin.System.IO: data () => Handle (e :: Effects)
+ Bluefin.System.IO: hFlush :: forall (e :: Effects) (es :: Effects). e :> es => Handle e -> Eff es ()
+ Bluefin.System.IO: hPutChar :: forall (e :: Effects) (es :: Effects). e :> es => Handle e -> Char -> Eff es ()
+ Bluefin.System.IO: hPutStr :: forall (e :: Effects) (es :: Effects). e :> es => Handle e -> String -> Eff es ()
+ Bluefin.System.IO: hPutStrLn :: forall (e :: Effects) (es :: Effects). e :> es => Handle e -> String -> Eff es ()
+ Bluefin.System.IO: unsafeWithHandle :: forall (e1 :: Effects) (es :: Effects) r. e1 :> es => Handle e1 -> (Handle -> IO r) -> Eff es r
+ Bluefin.System.IO: withFile :: forall (e1 :: Effects) (es :: Effects) r. e1 :> es => IOE e1 -> FilePath -> IOMode -> (forall (e :: Effects). () => Handle e -> Eff (e :& es) r) -> Eff es r
Files
- CHANGELOG.md +4/−0
- bluefin.cabal +3/−2
- src/Bluefin/System/IO.hs +22/−0
CHANGELOG.md view
@@ -1,3 +1,7 @@+## 0.0.10.0++* Add `Bluefin.System.IO`+ ## 0.0.9.0 * Add `instance Handle IOE`
bluefin.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: bluefin-version: 0.0.9.0+version: 0.0.10.0 license: MIT license-file: LICENSE author: Tom Ellis@@ -35,8 +35,9 @@ Bluefin.State, Bluefin.StateSource, Bluefin.Stream,+ Bluefin.System.IO, Bluefin.Writer, build-depends:- bluefin-internal >= 0.0.8.0 && < 0.1+ bluefin-internal >= 0.0.10.0 && < 0.1 hs-source-dirs: src default-language: Haskell2010
+ src/Bluefin/System/IO.hs view
@@ -0,0 +1,22 @@+-- | A safer interface to "System.IO.Handle"++module Bluefin.System.IO+ ( -- * Handle+ Handle,++ -- * Handlers+ withFile,++ -- * Effectful operations+ hPutChar,+ hPutStr,+ hPutStrLn,+ hFlush,++ -- * Unsafe++ unsafeWithHandle,+ )+where++import Bluefin.Internal.System.IO