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
Post a Comment