Eager.work.seg: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/suspicious/eager.bend as Eager Lines 84-90 of bolt@1.27.0.0/src/rules/suspicious/eager.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/suspicious/eager.bend&start_line=84&end_line=90 import Base import bolt@1.27.0.0/src/syntax/lex.bend as Lex # the argument a leaf leaves behind: a comma of a pick's own group moves on def work.seg(kk: Lex.TokKind, +seg: U32) -> U32: match kk: case Lex.TComma{}: Bool.pick(U32, U32.is_lt(seg, 9), (seg + 1 : U32), seg) case other: seg 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=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/lex.bend&name=TokKind