Create custom spaces in Clojure

In Clojure, commas are treated as spaces . This serves a simple purpose: it helps a person read the code.

I would like to point out that the other character should be considered as a space. Is it possible?

If you are interested, it ∈ / ε. If I could type (for [i ∊ set1, j ∊ set2] (* ij)) , I think it will be very nice.

Thanks in advance.

+6
source share
1 answer

No, this is not easy. See http://clojure.org/reader , in particular:

The reading table is currently not available for user programs.

+7
source

All Articles