def drift.notes

ezx@1.11.0.0 · src/ws/doctor.bend:139

import ezx@1.11.0.0/src/ws/doctor.bend as Doctor
import Base
import ezx@1.11.0.0/src/doctor/plan.bend as DP

139# a member's report, or the one line that says there is nothing to report
140def drift.notes(+place: String, +hs: List<&2, String>, lines: List<&2, String>) -> List<&2, DP.Note>:
141  match lines:
142    case []:
143      [DP.Note{False{}, "imports: " ++ place ++ ": " ++
144        DP.plural(List.length(&2, String, hs), "package", "packages") ++ " imported, every one named in it"}]
145    case hd <> tl:
146      DP.flag(at.lines(place, hd <> tl))

Uses (9)

Used by (1)