Re: bug or misunderstanding intern?

2010-10-27 Thread Meikel Brandmeyer
Hi again, and additionally (explaining the error message): "'.' has special meaning - it can be used one or more times in the middle of a symbol to designate a fully-qualified class name, e.g. java.util.BitSet, or in namespace names." Sincerely Meikel -- You received this message because you ar

Re: bug or misunderstanding intern?

2010-10-27 Thread Meikel Brandmeyer
Hi, from http://clojure.org/reader: "Symbols begin with a non-numeric character and can contain alphanumeric characters and *, +, !, -, _, and ?." (and ' with 1.3 I guess) So not really surprising behaviour. Sincerely Meikel -- You received this message because you are subscribed to the Google

bug or misunderstanding intern?

2010-10-27 Thread bOR_
Hi all. This got me puzzled. Intern has trouble with symbols containing periods? user> *clojure- version* {:major 1, :minor 2, :incremental 0, :qualifier ""} user> (intern *ns* (symbol "orig-0.5") 3) #'user/ orig-0.5 user> orig-0.5 ; Evaluation aborted. [Thrown class java.lang.ClassNotFound