Text.float: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/usage/text.bend as Text Lines 94-98 of cswap-bend-cli@0.1.0.0/usage/text.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/usage/text.bend&start_line=94&end_line=98 import Base # A JSON number's text as Python prints float(text): `50` -> `50.0`, `5.50` -> # `5.5`. None for anything but plain decimals (exponents, signs after the # first, text). def float(+s: String) -> Maybe<&2, String>: float.sign(String.starts_with(s, "-"), s) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/usage/text.bend&name=float.sign