def show

emerging-ezhttp@0.21.0.0 · src/url.bend:160

import emerging-ezhttp@0.21.0.0/src/url.bend as Url
import Base

160# a parsed url on one line, for a test to read
161def show(l: Loc) -> String:
162  match l:
163    case Bad{why}:
164      "bad " ++ why
165    case Loc{scheme, host, port, path}:
166      scheme ++ " " ++ host ++ " " ++ U32.show(port) ++ " " ++ path

Uses (4)

Used by (0)

No other definition uses this definition.