eff ReadLines
An effect used to read the lines of a file.
Use the ReadLines.runWithFileRead handler.
ReadLines.runWithFileRead
def readLines(f: String): Result[IoError, List[String]] \ ReadLines
Returns a list of all lines in the given file f.
f
def runWithFileRead(f: Unit -> a \ ef): a \ (ef - ReadLines) + FileRead
Handles the ReadLines effect of the given function f using the FileRead effect.
ReadLines
FileRead