def groups.eq
import bend-kit-router@0.2.0.0/router.bend as Routerimport Base
182def groups.eq(a: List<&2, U32>, b: List<&2, U32>) -> Bool:
183 match a b:
184 case Nil{} Nil{}:
185 True{}
186 case x <> at y <> bt:
187 continue(U32.is_eq(x, y), u => groups.eq(at, bt))
188 case _ _:
189 False{}