Fixed.cut.dot: def of emerging-ezjson@1.3.0.0 Import: import emerging-ezjson@1.3.0.0/src/fixed.bend as Fixed Lines 52-58 of emerging-ezjson@1.3.0.0/src/fixed.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.3.0.0/src/fixed.bend&start_line=52&end_line=58 import Base # a text cut at its first decimal point: what is before it, and after it def cut.dot(txt: String) -> String & String: match txt: case SNil{}: ("", "") case SCon{+hd, +tl}: cut.at(mark.dot(hd), hd, tl, _u => cut.dot(tl)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/fixed.bend&name=cut.at https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/fixed.bend&name=mark.dot