def group.find
import bend-kit-camber@0.15.0.1/camber.bend as Camberimport Base
496def group.find(~P: Data, groups: List<&2, Group<P>>, +id: U32) -> Maybe<&2, Group<P>>:
497 match groups:
498 case Nil{}:
499 None{}
500 case Group{+here, ancestors, policy} <> rest:
501 group.pick(~P, U32.is_eq(here, id), Group{here, ancestors, policy}, u => group.find(~P, rest, id))