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

objective c - Can't build GCM with Protobuf in Xcode -

embed HTML within ASP.net -

javascript - jQuery iScroll clickable list elements while retaining scroll? -