Email list hosting service & mailing list manager


Macros with keyword arguments Lassi Kortela 24 Jul 2019 11:42 UTC

Racket:
<https://docs.racket-lang.org/syntax/Optional_Keyword_Arguments.html>

In Common Lisp you can write things like this:

(defmacro foo (&key a b) `(list ,a ,b))
(foo :a 3)  ; => (3 nil)