Codes.find: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/codes.bend as Codes Lines 63-69 of bolt@1.27.0.0/src/codes.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/codes.bend&start_line=63&end_line=69 import Base import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy # the row for a slug def find(rows: List<&2, Entry>, +slug: String) -> Maybe<&2, Entry>: match rows: case Nil{}: None{} case Con{+row, rest}: Lazy.stop(Maybe<&2, Entry>, find.same(row, slug), Some{row}, _u => find(rest, slug)) 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=bolt@1.27.0.0/src/codes.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/codes.bend&name=find.same https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lazy/lazy.bend&name=stop