Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Handle e = UnsafeMkHandle Handle (IOE e)
- hFlush :: e :> es => Handle e -> Eff es ()
- hPutChar :: e :> es => Handle e -> Char -> Eff es ()
- hPutStr :: e :> es => Handle e -> String -> Eff es ()
- hPutStrLn :: e :> es => Handle e -> String -> Eff es ()
- withFile :: e1 :> es => IOE e1 -> FilePath -> IOMode -> (forall e. Handle e -> Eff (e :& es) r) -> Eff es r
- unsafeWithHandle :: e1 :> es => Handle e1 -> (Handle -> IO r) -> Eff es r
- data IOMode
Documentation
UnsafeMkHandle Handle (IOE e) |
unsafeWithHandle :: e1 :> es => Handle e1 -> (Handle -> IO r) -> Eff es r Source #
If there's a System.IO.Handle-using function you need that
isn't included here then you can open an
issue to
request it be added. In the meantime you can define it yourself with unsafeWithHandle
.