eff FileExists
An effect used to check if a file exists.
Use the FileExists.runWithFileTest handler.
FileExists.runWithFileTest
def exists(f: String): Result[IoError, Bool] \ FileExists
Returns true if the given file f exists.
true
f
def runWithFileTest(f: Unit -> a \ ef): a \ (ef - FileExists) + FileTest
Handles the FileExists effect of the given function f using the FileTest effect.
FileExists
FileTest