Http.number: def of gralha-http-core@0.1.0.0 Import: import gralha-http-core@0.1.0.0/http.bend as Http Lines 211-213 of gralha-http-core@0.1.0.0/http.bend: https://jend.leeeet.dev/read.txt?path=gralha-http-core@0.1.0.0/http.bend&start_line=211&end_line=213 import Base # A decimal number made of digits only, as Content-Length is. def number(+s: String) -> Maybe<&2, U32>: when(Maybe<&2, U32>, digits(s), _ => U32.read(s), _ => None{}) 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.read https://jend.leeeet.dev/definition.txt?path=gralha-http-core@0.1.0.0/http.bend&name=digits https://jend.leeeet.dev/definition.txt?path=gralha-http-core@0.1.0.0/http.bend&name=when