Re: import and require for consuming the fruits of defrecord

2015-10-28 Thread Alex Miller
CLJ-1823 documents the change from CLJ-1208, which is really targeted at interop use cases where a record type will be imported and instantiated from Java. The effect you mention is secondary and I would recommend that the bulk of the type you are using records, you should require the record

import and require for consuming the fruits of defrecord

2015-10-27 Thread Matching Socks
A recent announcement of Clojure 1.8.0-beta2 mentioned an interesting enhancement, CLJ-1823 Document new :load-ns option to defrecord/deftype which I think means that "import" will make a record type fully usable without an auxiliary "require". This would be an improvement (for Clojure),