def par.plan
import snap@1.4.0.0/src/par.bend as Parimport Base
41# what the `par` effect is handed: how many may run at once, how many gigabytes
42# each was given, where they write, the second they must all be finished by,
43# and then every job's fields, all joined on NUL
44def par.plan(js: List<&2, List<&2, String>>, width: String, gb: String, at: String, by: String) -> String:
45 String.join(width <> gb <> at <> by <> par.fields(js), "\0")