Fs.WriteFile
eff WriteFileSourceAn effect used to write the contents of a file as a string.
Use the WriteFile.runWithFileWrite handler.
Operations
def write(data: { str = String }, f: String): Result[IoError, Unit] \ WriteFile
SourceWrites str to the given file f.
Creates file f if it does not exist. Overwrites it if it exists.
Definitions
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - WriteFile) + FileWrite
SourceHandles the WriteFile effect of the given function f using the FileWrite effect.