Render.clear: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/render.bend as Render Lines 147-154 of ezx@1.11.0.0/src/ledger/render.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/render.bend&start_line=147&end_line=154 import Base # whether a text holds no copy of a char def clear(text: String, +ch: Char) -> Bool: match text: case SNil{}: True{} case SCon{h, t}: rest = clear(t, ch) Bool.and(Bool.not(Char.is_eq(h, ch)), rest) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=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=String