def look.step

ezx@1.11.0.0 · src/tool/world.bend:214

import ezx@1.11.0.0/src/tool/world.bend as World
import Base

214# this answer when it is the question's, otherwise the rest's
215def look.step(hit: Bool, answer: Answer, rest: Unit -> Heard) -> Heard:
216  match hit:
217    case True{}:
218      Heard{answer}
219    case False{}:
220      rest(Unit{})

Uses (4)

Used by (1)