Skip to content

Instantly share code, notes, and snippets.

@ukn-ubi
Last active September 19, 2015 10:58
Show Gist options
  • Save ukn-ubi/8b291fada1a72be18a49 to your computer and use it in GitHub Desktop.
Save ukn-ubi/8b291fada1a72be18a49 to your computer and use it in GitHub Desktop.
Allows you to write code backwards in Lisp.
(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