def ask.step
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport Base
1168def ask.step(-R: Type, questions: List<&2, Question>, k: List<&2, Answer> -> Step<R>) -> Step<R>:
1169 match questions:
1170 case Nil{}:
1171 k([])
1172 case Con{q, rest}:
1173 Pending{Con{q, rest}, k}