def report

ezx@1.11.0.0 · src/ez/test.bend:75

import ezx@1.11.0.0/src/ez/test.bend as Test
import Base

75# every test, in the tree's order however the run happened to interleave
76def report(ts: List<&2, String>, as: List<&2, String>, score: Tally) -> IO(Tally):
77  match ts as:
78    case Con{+h, tt} Con{+x, xt}:
79      do IO<Tally>:
80        next : Tally <- one(h, x, score)
81        report(tt, xt, next)
82    case rest _x:
83      short(rest, score)

Uses (7)

Used by (1)