Parse.prefix.find: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/parse.bend as Parse Lines 286-293 of yaml-for-bend@0.1.1.0/parse.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/parse.bend&start_line=286&end_line=293 import Base def prefix.find(ts: List<&2, Prefix>, +handle: String) -> Maybe<&2, String>: match ts: case Nil{}: None{} case Con{p, rest}: match p: case Prefix{h, +prefix}: when(Maybe<&2, String>, String.eq(h, handle), u => Some{prefix}, u => prefix.find(rest, handle)) Uses (6): 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/parse.bend&name=Prefix https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/parse.bend&name=when