effectful-2.3.1.0: An easy to use, performant extensible effects library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Effectful.FileSystem.IO.ByteString.Lazy

Description

Lifted Data.ByteString.Lazy.Char8. Like the original module, you probably want to import this module qualified to avoid name clashes with the functions provided by Prelude, e.g.:

import Data.ByteString.Lazy (ByteString)
import qualified Data.ByteString.Lazy.Char8 as LBS8
import qualified Effectful.FileSystem.IO.ByteString.Lazy as ELBS
Synopsis

Files

I/O with Handles

hGet :: FileSystem :> es => Handle -> Int -> Eff es ByteString Source #

Lifted hGet.

hPut :: FileSystem :> es => Handle -> ByteString -> Eff es () Source #

Lifted hPut.

hPutStr :: FileSystem :> es => Handle -> ByteString -> Eff es () Source #

Lifted hPutStr.