(type r) returned a symbol user.TyR, so (= (symbol (str (type r))) (type r)) was true; the JVM's type is a Class (not a Symbol) so it's false. jolt models classes as strings, so a record's type is now its ns-qualified class-name string — equal to (class r), as on the JVM where type and class coincide for a record. The symbol-keyed print-method defmethods already fall through to the default record printing, so they're unaffected. Closes type-of-record. |
||
|---|---|---|
| .. | ||
| chez | ||