Loads of changes, some which I wasn't sure what I was on when doing
them
This commit is contained in:
2025-07-09 21:31:43 +01:00
parent 062b5f59d7
commit cd6ac8930d
11 changed files with 76 additions and 69 deletions

View File

@@ -124,3 +124,8 @@ sequentially via ->>"
(defmacro alist-val (key alist)
"Helper macro for getting the value of KEY in ALIST."
`(cdr (assoc ,key ,alist)))
(defmacro call-rev (func-name &rest arguments)
"Call a function with arguments but in reverse
i.e. (call-rev f x1 x2 ... xn) => (f xn ... x2 x1)."
`(,func-name ,@(reverse arguments)))