Clojure macro that doesn't need space next to it -


trying create macro form of haskell's lambda syntax, i'm pretty close except 1 last tweak, / (which should \, can't grumble..) needs space next it, there way make macro doesn't need space between , it's first argument?

for instance:

(reduce (/x y -> x y) [1 2 3])

instead of:

(reduce (/ x y -> x y) [1 2 3])

i suspect isn't possible, way know sure ask people know, what's word?

no. macros cannot change lexical syntax of language. requires read-macros, clojure doesn't have.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

How to call a javascript function after the page loads with a chrome extension? -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -