def file.slurp.next

snap@1.4.0.0 · src/file.bend:31

import snap@1.4.0.0/src/file.bend as File
import Base

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

Uses (8)

Used by (1)