# (retropikzel alist-util) (**vars->alist** *var* ...) Turn given vars into alist with keys same names as vars and vars as values. (let ((a 1) (b 2) (c 3) (d 4) (e 5)) (vars->alist a b c d e))) > ((a . 1) (b . 2) (c . 3) (d . 4) (e . 5)) (**alist-get** *key* *lst*) Gets the given cdr of pair with *key* as car out of *lst* or errors if the *key* is not found. (**alist-gets** *key* ... *lst*) Same as **alist-get** but gets list of multiple keys. (**alist-merge** *lst1* *lst2*) Merge given alists removing duplicates and preseving the last value of pair. (alist-merge '((a 1) (b 2) (c 3)) '((d 4) (e 5)))) > ((a 1) (b 2) (c 3) (d 4) (e 5)) (alist-merge '((a 1) (b 2) (c 3) (d x)) '((d 4) (e 5)))) > ((a 1) (b 2) (c 3) (d 4) (e 5)) (alist-merge '((a 1) (b 2) (c 3) (d x)) '((d y) (d 4) (e 5)))) > ((a 1) (b 2) (c 3) (d 4) (e 5)) (**alist-merge!** *lst1* *lst2*) Same as **alist-merge** but result is set! into *lst1* variable.