-
Notifications
You must be signed in to change notification settings - Fork 11
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
Support for proxy-super equivalent #17
Comments
Implementing I've implemented a horrible hack while we wait for competent people to puzzle that one out. https://github.com/owenRiddy/proxy-plus-minus implements a proxy-super+ by automatically exposing the superclass' methods to everyone and hoping that people behave responsibly and/or don't consider such an audacious scheme and only put I won't ask for my work to be pulled into |
That's clever. Definitely too much of a hack to pull it in though. I think doing this properly would ultimately require support from the Clojure compiler. |
It'd be helpful. Although after spending 24 hours mulling I'm not sure even access to the compiler is enough to get to an elegant We're up against a really awkward crack in the design. Clojure functions are independent of the object that represents the proxy - therefore any attempt to replicate the behaviour of Java's Seems to me we need new semantics of what is reasonably allowed access to superclass methods (only lexically in the Case closed for the moment I suppose. |
how would I deploy proxy plus to vercel? |
Would be nice to have an equivalent to Clojure's proxy-super. May or may not be possible to do efficiently. One idea is to wrap the call to
super
in a lambda and make the lambda available to the clojure body code via a binding.The text was updated successfully, but these errors were encountered: