Prim.lead0.ip: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/prim.bend as Prim Lines 25-28 of bend-toon-codec@0.1.0.0/src/prim.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/prim.bend&start_line=25&end_line=28 import Base import bend-toon-codec@0.1.0.0/src/head.bend as Hd # A forbidden leading zero: an integer part of two or more digits starting # with 0 (`05`, `-007`), which stays a string. `0`, `0.5`, `0e1` are numbers. def lead0.ip(+ip: String) -> Bool: Hd.lead(ip, 48) && Hd.at_least(ip, 2n) Uses (5): 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=String https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/head.bend&name=at_least https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/head.bend&name=lead