eff AppendBytes
An effect used to append bytes to a file.
Use the AppendBytes.runWithFileWrite handler.
AppendBytes.runWithFileWrite
def appendBytes(data: Vector[Int8], f: String): Result[IoError, Unit] \ AppendBytes
Appends data to the given file f.
data
f
Creates the file f if it does not exist.
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - AppendBytes) + FileWrite
Handles the AppendBytes effect of the given function f using the FileWrite effect.
AppendBytes
FileWrite