3 ms·
We have macros and LISP is a building material, not a language. One line of code is just enough to get something that works (defmacro infix [a op b] `(~op
by GorgeRonde 7y ago
We have macros and LISP is a building material, not a language.
One line of code is just enough to get something that works
(defmacro infix [a op b] `(~op ~a ~b))
There are libraries for that too. Clojure: https://github.com/rm-hull/infix https://github.com/rm-hull/infix