Last active
September 19, 2015 10:58
-
-
Save ukn-ubi/8b291fada1a72be18a49 to your computer and use it in GitHub Desktop.
Allows you to write code backwards in Lisp.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro suf [code] | |
(quasiquote ( | |
(unquote (get code 2)) | |
(unquote (get code 0)) | |
(unquote (get code 1))))) | |
; Example use | |
(suf ("Hy" "Lisp" print)) ;=> "Hy Lisp" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment