def show_all

bend-lint-api@0.2.0.0 · linter/lint.bend:1244

import bend-lint-api@0.2.0.0/linter/lint.bend as Lint
import Base

1244# How each type of `types` is shown, in order, asked in one round.
1245def show_all(types: List<&2, TypeRef>) -> Ask(List<&2, String>):
1246  Ask.bind(
1247    List<&2, Answer>,
1248    List<&2, String>,
1249    ask(Question.shows(types, [])),
1250    answers => Ask.pure(List<&2, String>, Answer.texts(answers, []))
1251  )

Uses (10)

Used by (1)