Param.check.go: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/style/param.bend as Param Lines 49-58 of bolt@1.27.0.0/src/rules/style/param.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/style/param.bend&start_line=49&end_line=58 import Base import bolt@1.27.0.0/src/finding.bend as F import bolt@1.27.0.0/src/syntax/bind.bend as Bind def check.go(binds: List<&2, Bind.Bind>, +path: String) -> List<&2, F.Finding>: match binds: case Nil{}: Nil{} case Con{Bind.Bind{+nm, +line, +col, +kind, +note}, rest}: +more = check.go(rest, path) +hit = Bool.and(check.is_param(kind), Bool.and(check.short(nm), Bool.not(check.allowed(nm, note)))) Bool.pick(List<&2, F.Finding>, hit, F.Finding{path, line, col, U32.from_nat(String.length(nm)), "param", "Parameter " ++ nm ++ " is too short; use at least 2 characters."} <> more, more) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.from_nat https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/finding.bend&name=Finding https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/style/param.bend&name=check.allowed https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/style/param.bend&name=check.is_param https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/style/param.bend&name=check.short https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/bind.bend&name=Bind