Url.port.num: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/url.bend as Url Lines 20-26 of emerging-ezhttp@0.21.0.0/src/url.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/url.bend&start_line=20&end_line=26 import Base # a port that parsed, or the scheme's own when the digits were not digits def port.num(got: Maybe<&2, U32>, scheme: String) -> U32: match got: case None{}: dflt(scheme) case Some{n}: n 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=U32 https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/url.bend&name=dflt