def parse.path
import bend-kit-url@0.4.1.0/url.bend as Urlimport Base
209def parse.path(path: Maybe<&2, String>, +rest: String) -> Maybe<&2, Url>:
210 match path:
211 case None{}:
212 None{}
213 case Some{p}:
214 parse.q(p, rest, Bool.not(String.is_empty(rest)))