List.find: def of Base Import: import Base Lines 1124-1129 of Base/base.bend: https://jend.leeeet.dev/read.txt?path=Base/base.bend&start_line=1124&end_line=1129 import Base def List.find(~A: Data, ~f: A -> Bool, xs: List<&2, A>) -> Maybe<&2, A>: match xs: case Nil{}: None{} case +h <> t: List.find.if(A, h, u => List.find(~A, ~f, t), f(h)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.find.if https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe