Prefix.len.add: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/suspicious/prefix.bend as Prefix Lines 43-50 of bolt@1.27.0.0/src/rules/suspicious/prefix.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/suspicious/prefix.bend&start_line=43&end_line=50 import Base # what the char adds to the length: one in plain text, but not the closing # quote; nothing anywhere else def len.add(mm: Mode, +cc: Char) -> Nat: match mm: case MPlain{}: Bool.pick(Nat, is_cp(cc, 34), 0n, 1n) case other: 0n 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=Nat https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/suspicious/prefix.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/suspicious/prefix.bend&name=is_cp