def tree.reply
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport 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