RE: longCast
I will check that out. Thanks
RE: deftype
deftype does get a create and getBasis method, but the create is breaking because I am assuming a record ctor. I can fix that if we think that types should have a create that takes a map.
(deftype T [a])
(user.T/getBasis)
;=> [a]
(user.T/create {:a 1})
;; NoSuchMethodError
This is because I'm building a call to the record ctor that takes metadata and an extension map. Does it make sense to generate such a create that takes a map for types?
Thanks
:F
Converted from http://www.assembla.com/spaces/clojure/tickets/374