def flag
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport Base
475# every line of a report, each a problem
476def flag(ls: List<&2, String>) -> List<&2, Note>:
477 match ls:
478 case []:
479 []
480 case h <> t:
481 Note{True{}, h} <> flag(t)