polysemy-scoped-fs-0.1.0.0: Well-typed filesystem operation effects.
Copyright(c) Hisaket VioletRed 2022
LicenseAGPL-3.0-or-later
Maintainerhisaket@outlook.jp
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Polysemy.FS.Scoped.ByteString

Description

 
Synopsis

Documentation

readAccessToIO :: Members '[Embed IO, Resource] r => Access BytesFormat ReadAccess (ReadBytes ': (ReadToEnd ': Cursor)) r b Source #

An interpreter for read open mode with binary.

writeAccessToIO :: Members '[Embed IO, Resource] r => Access BytesFormat WriteAccess (Overwrite ': (Resize ': Cursor)) r b Source #

An interpreter for write open mode with binary.

rwAccessToIO :: Members '[Embed IO, Resource] r => Access BytesFormat WriteAccess (ReadBytes ': (ReadToEnd ': (Overwrite ': (Resize ': Cursor)))) r b Source #

An interpreter for read and write open mode with binary.

appendAccessToIO :: Members '[Embed IO, Resource] r => Access BytesFormat WriteAccess '[Append, Resize] r b Source #

An interpreter for append open mode with binary.