Protocol.qfind: def of bendonnect-rpc@0.1.0.0 Import: import bendonnect-rpc@0.1.0.0/src/protocol.bend as Protocol Lines 394-400 of bendonnect-rpc@0.1.0.0/src/protocol.bend: https://jend.leeeet.dev/read.txt?path=bendonnect-rpc@0.1.0.0/src/protocol.bend&start_line=394&end_line=400 import Base import bend-kit-url@0.4.1.0/url.bend as Url # First raw value of query param `name` in a list of "k=v" items. def qfind(xs: List<&2, String>, +name: String) -> Maybe<&2, String>: match xs: case Nil{}: None{} case Con{h, t}: qfind.kv(Url.take_to(h, 61), name, u => qfind(t, name)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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-url@0.4.1.0/url.bend&name=take_to https://jend.leeeet.dev/definition.txt?path=bendonnect-rpc@0.1.0.0/src/protocol.bend&name=qfind.kv