JetBrains/la-clojure — Issue #10: Single quote matching problem on arbitrary precision math functions
Author: Menthalion
Created: 2011-12-05 15:16:58+00:00
State: open

After introduction of arbitrary precision math functions (+' , -' ,*' etc.) in Clojure 1.3 sometimes single quote matching goes wrong in both source files and REPL. Because of this, source parsing and evaluating expressions in the REPL doesn't work as intended anymore.

In the following both pairs of expression work the same:

(+ 1 2 3)
(+' 1 2 3)

(map + [1 2 3] [1 2 3])
(map +' [1 2 3] [1 2 3])

However, these differ, resulting in syntax warnings, or not being able to enter the expression in the REPL when arbitrary math is used:

(doc +)
(doc +')

(map apply [+ - *] [1 2 3] [1 2 3] [1 2 3] [nil nil nil])
(map apply [+' -' *'] [1 2 3] [1 2 3] [1 2 3] [nil nil nil])