Created
September 15, 2014 05:48
-
-
Save speedcell4/e2c7aebc08e673114191 to your computer and use it in GitHub Desktop.
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
(defn infix | |
([x op y] (op x y)) | |
([x op y & more] | |
(apply infix (cons (infix x op y) more)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment