eff AppendLines
An effect used to append lines to a file.
Use the AppendLines.runWithFileWrite handler.
AppendLines.runWithFileWrite
def appendLines(data: { lines = List[String] }, f: String): Result[IoError, Unit] \ AppendLines
Appends lines to the given file f.
lines
f
Creates the file f if it does not exist.
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - AppendLines) + FileWrite
Handles the AppendLines effect of the given function f using the FileWrite effect.
AppendLines
FileWrite