On Apr 24, 2010, at 1:40 AM, Phil Hagelberg wrote: > So it seems like recently the only thing I use AOT for is producing > -main functions that can be easily run from the command-line. I've > found that an alternate to this is to use clojure.main -e, require the > necessary namespace, and then call (apply -main *command-line-args*), > but this is rather awkward. I wonder if it would be convenient to have > clojure.main take another argument that would accept the name of a > namespace to look for a -main function in. > > Thoughts? Would others use this?
I like it a lot. Here's an old discussion along similar lines. http://www.mail-archive.com/clojure@googlegroups.com/msg12372.html I think something like this would be a nice improvement to clojure.main. --Steve -- 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 Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en