def tree.reply

ezx@1.11.0.0 · src/doctor/plan.bend:559

import ezx@1.11.0.0/src/doctor/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/doctor/world.bend as DW
import ezx@1.11.0.0/src/lock/world.bend as W

559# a reply kept when it answers a lock question
560def tree.reply(ask: DW.Ask, answer: DW.Answer, rest: List<&2, W.Reply>) -> List<&2, W.Reply>:
561  match ask:
562    case DW.Tree{a}:
563      tree.put(a, answer, rest)
564    case _:
565      rest

Uses (5)

Used by (1)