def slurp.next

ezx@1.11.0.0 · src/io/file.bend:32

import ezx@1.11.0.0/src/io/file.bend as File
import Base

32# the handle comes back paired with what it read
33def slurp.next(
34  got: File & Result<&1, &1, U32 & String, String>,
35  acc: String,
36  rest: File -> String -> IO(String)
37) -> IO(String):
38  (file, r) = got
39  slurp.more(r, file, acc, rest)

Uses (8)

Used by (1)