Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro infix [input]
- (let [expression (map reverse (partition-all 2 input))]
- (println expression)))
- (infix (1 + 2 + 3 - 5))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement