On Oct 7, 2008, at 3:19 AM, Matthew D. Swank wrote:
> This seems strange:
> (with-meta :foo {:type 'id})
> [is an error]
From http://clojure.org/metadata:
Symbols and collections support metadata, a map of data about the
symbol or collection
Keywords are not symbols in Clojure and
This seems strange:
(with-meta :foo {:type 'id})
causes:
java.lang.IncompatibleClassChangeError (NO_SOURCE_FILE:0)
[Thrown class clojure.lang.Compiler$CompilerException]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CAUSE] Throw cause of this exception
Backtrace:
0: clojure.lang.C