eff MkDir
An effect used to create a directory.
Use the MkDir.runWithFileWrite handler.
MkDir.runWithFileWrite
def mkDir(d: String): Result[IoError, Unit] \ MkDir
Creates the directory d.
d
def runWithFileWrite(f: Unit -> a \ ef): a \ (ef - MkDir) + FileWrite
Handles the MkDir effect of the given function f using the FileWrite effect.
MkDir
f
FileWrite