Wrap.check.gt_count: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/style/wrap.bend as Wrap Lines 173-180 of bolt@1.27.0.0/src/rules/style/wrap.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/style/wrap.bend&start_line=173&end_line=180 import Base # how many `>` a run holds def check.gt_count(cs: List<&2, Char>) -> Nat: match cs: case Nil{}: 0n case Con{+c, t}: +more = check.gt_count(t) Bool.pick(Nat, Char.is_eq(c, '>'), Succ{more}, more) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat