def par.job.of
import snap@1.4.0.0/src/par.bend as Parimport Base
19# a job accepted as `run` would accept it is sent as it is; any other is sent
20# as the empty job, which the effect answers as a program that could not be
21# started, in its own place
22def par.job.of(ok: Bool, argv: List<&2, String>) -> List<&2, String>:
23 match ok:
24 case True{}:
25 argv
26 case False{}:
27 []