Directives.Draft.reason: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/lib/linter/directives.bend as Directives Lines 395-401 of bend-lint-rules@0.2.0.0/lib/linter/directives.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&start_line=395&end_line=401 import Base import bend-lint-api@0.2.0.0/shared/lists.bend as Lists # What comes after the rule: nothing, or `--` and the reasons. def Draft.reason(rest: List<&2, String>) -> Maybe<&2, List<&2, String>>: match rest: case Nil{}: Some{[]} case Con{dash, more}: Lists.when(List<&2, String>, String.eq(dash, "--"), Draft.reasons(more, ([], []))) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/lists.bend&name=when https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/lib/linter/directives.bend&name=Draft.reasons