Re: Type inheritance, porting from Java

2011-09-28 Thread David Nolen
There is no convenient way to inherit functionality. But there are a couple other routes, perhaps one of these will appeal to you - * Just use your rich Java library from Clojure, perhaps providing a high performance integration the same way that Clojure does via RT.java and inlining * Use macros

Type inheritance, porting from Java

2011-09-28 Thread toxi
Dear Clojurians, I picked up Clojure a few months ago and find it hugely fascinating. I've been working mainly with Java for the past few years and now trying to overcome the un-learning curve in regards to polymorphism and solving it with records & protocols instead. My aim is to port my library