Re:The Caves of Clojure part 3.1: World Generation
by stevelosh on Monday July 09, 2012 @04:30PM
(#4220228)
Oh cool, I didn't know that. I kind of blocked 1.3 out of my memory after the "let's remove clojure.contrib and break everyone's shit" mess.
It's good to know that progress toward patching all the places Java tends to leak through into Clojure is happening.
I can't say I'm a fan of the punctuation-laden syntax, but I'll pick my battles and not complain about it.
I'll switch over to this new form tonight and mention it in one of the later posts. Thanks!
Re:The Caves of Clojure part 3.1: World Generation
by rapala on Tuesday July 10, 2012 @06:48AM
(#4222998)
This, and before 1.3 you were supposed to define a constructor function yourself. I'm pretty sure that was somewhere in the documentation. Or in the clojure.org/datatypes. Or in some mailing list post that I red. The Clojure documentation is a mess.
http://dev.clojure.org/display/design/defrecord+improvements