Re: AOP in Clojure

2011-02-02 Thread Shantanu Kumar
I think what a Ring middleware[1] does might be very close what you want to do with AOP. Clojure has a natural way to decorate an existing body of code using higher order functions and macros. [1] http://github.com/mmcgrana/ring Could you share some use cases that you want to achieve with AOP

Re: AOP in Clojure

2011-02-02 Thread Saul Hazledine
On Feb 2, 2:09 pm, Nebojsa Stricevic nebojsa.strice...@gmail.com wrote: Hi, Are there any general purpose libraries/frameworks with nice API/DSL for Aspect Oriented Programming for Clojure? Or is there someone working on it? Is it needed? Possible? I agree with Shantanu and feel that Ring

Re: AOP in Clojure

2011-02-02 Thread Nebojsa Stricevic
Thanks for these answers. I forgot about Robert Hooke, although I've seen it already. I don't have a real use case yet. I'm researching Domain Specific Languages composition/combining, so AOP could be useful. I've checked some Clojure tracing code, I'll dig into Ring more and Robert Hooke looks