def printed.at

ezx@1.11.0.0 · src/sha/dump.bend:19

import ezx@1.11.0.0/src/sha/dump.bend as Dump
import Base

19# what a program printed, with the status line in front of it taken off and
20# nothing else touched
21def printed.at(ends: Bool, tail: String, rest: Unit -> String) -> String:
22  match ends:
23    case True{}:
24      tail
25    case False{}:
26      rest(Unit{})

Uses (3)

Used by (1)