def par.of

snap@1.4.0.0 · src/par.bend:57

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

57# one job's answer, in the shape `run` gives: the status on its own first
58# line, then everything the program printed, read back out of the file it was
59# pointed at
60def par.of(+code: String, got: Maybe<&2, String>) -> String:
61  code ++ "\n" ++ File.file.text_of(got)

Uses (4)

Used by (1)