-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inheritance example with Abstract classes #5
Comments
I will prepare some documentation on the JiSE syntax in the future, but shortly: You can use the optional "inheritance vector" syntax to specify the parent class and/or implemented interfaces. (require '[jise.core :refer [defclass]])
(defclass C [P I1 I2] ...) |
This is an example that I ran into trouble porting https://github.com/orbit-legacy/orbit1 Another thing that is difficult is with annotations. I think orbit uses them well but it's not that well supported with clojure. |
Another interesting use case might be this: |
This would be another project that'd be great to get working: |
One problem that I've always faced with clojure is that it's not possible to derive things from Abstract classes.
https://stackoverflow.com/questions/53090419/clojure-proxy-implementing-abstract-class-with-protected-constructor
Can you create an example showing how to do it with JiSE?
The text was updated successfully, but these errors were encountered: