- alist-map f alistprocedure
Map across an alist; f takes two parameters: key and values.
- f
- The function to apply to each key-value association
- alist
- The alist to apply to
(define (alist-map f alist) (map (match-lambda ((key . values) (f key values))) alist))