def collect_hex
import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCMimport Base
304def collect_hex(pairs: List<&2, Maybe<&2, U32>>) -> Maybe<&2, List<&2, U32>>:
305 match pairs:
306 case Nil{}: Some{Nil{}}
307 case pair <> tail: collect_hex.cons(pair, collect_hex(tail))