>>20
thanks, i hadn't seen progv before. using functions is interesting as i suspect all list destructuring mechanisms could be decomposed into lambdas, for instance a pattern [(a (b c) d ...) (list a c)]
could be compiled to
(apply
(lambda (a bc . d)
(apply
(lambda (b c) (list a c)) bc))
'(1 (2 3) 4))
returning (1 3)