On 10 September 2014 at 21:11:06, j...@afandian.com (j...@afandian.com) wrote: > I just noticed that the ReadableInstant[0] interface is generic, > extending Comparable [1]. Is it possible to implement a generic > interface with a defrecord?
Type parameters in generics do not exist at runtime, they are purely a javac feature. So yes, you can reify a generic interface, just ignore the type variable(s). -- @michaelklishin, github.com/michaelklishin -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.