flix

0.80.0

ReadLines

Effect for reading the lines of a file, and its functions.

eff ReadLinesSource

Effect for reading the lines of a file.

Use the ReadLines.runWithFileRead handler.

Operations

Returns a list of all lines in the given file f.

Definitions

def runWithFileRead(f: Unit -> a \ ef): a \ (ef - ReadLines) + FileRead§ Source

Handles the ReadLines effect of the given function f using the FileRead effect.