I'm not entirely clear how the new AOT compilation works, or how I convert old code to use the new mechanism.
As an example - I had a call to gen-and-save-class in a file that created a custom exception type just before the function that would throw it was defined. I've changed that to just gen-class, which I hoped would create a class that could be found - but it doesn't seem to work. I had assumed that gen-and-save-class was coming back since it is just commented out in the source file, but if I don't need it .. great. Any guidance on the new functionality would be appreciated. R. 2008/11/21 Rich Hickey <[EMAIL PROTECTED]> > > > > On Nov 20, 4:42 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote: > > On Nov 20, 2:14 pm, Stephen Wrobleski <[EMAIL PROTECTED]> wrote: > > > > > Furthermore, requiring the use of (ns ..) to create a class makes > defining a > > > class with a macro somewhat tedious (seems like you'd have to bind > *ns*, so > > > that (ns ..) could mutate it), if even possible. > > > > This is probably temporary, but it's something to think about. I have > > also used macros to define classes with gen-and-save-class. > > -S > > I'd appreciate examples of gen-and-load-class and gen-and-save-class > use not well supported by the AOT gen-class. > > What I am interested in is the scenarios/use-cases. > > Thanks, > > Rich > > > > --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---