Decimal.Decimal.read: def of bend-kit-bignum@0.1.0.0 Import: import bend-kit-bignum@0.1.0.0/decimal.bend as Decimal Lines 431-436 of bend-kit-bignum@0.1.0.0/decimal.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bignum@0.1.0.0/decimal.bend&start_line=431&end_line=436 import Base # [+-]digits[.digits][(e|E)[+-]digits], a superset of JSON's number grammar # (it also takes a leading + and leading zeros). The scale is the number of # fraction digits less the exponent, floored at zero: "1.50" has scale 2, # "1.5e1" is 15, "25e-3" is 0.025. def Decimal.read(s: String) -> Maybe<&2, Decimal>: Decimal.read.fin(Decimal.read.go(s, Begin{})) Uses (6): 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=bend-kit-bignum@0.1.0.0/decimal.bend&name=Decimal https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/decimal.bend&name=Decimal.read.fin https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/decimal.bend&name=Decimal.read.go https://jend.leeeet.dev/definition.txt?path=bend-kit-bignum@0.1.0.0/decimal.bend&name=Scan