060 fs read lines

○ Planned This feature is planned but not yet implemented.

Feature: fs.read_lines not implemented

Code

// Test std.fs:read_lines with identity branches
~import "$std/fs"
~import "$std/io"

~std.fs:read_lines(path: "data.txt")
| lines |>
    std.io:print.ln("Read file successfully")
| failed err |>
    std.io:print.ln("Error: ${err}")
input.kz