def queries
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/up.bend as Up
1224# each of the upgrade's questions, with the question git is asked for it
1225def queries(+here: String, as: List<&2, Up.Ask>) -> List<&2, Query>:
1226 match as:
1227 case []:
1228 []
1229 case +h <> t:
1230 Query{h, Up.anchor(here, h)} <> queries(here, t)