On 8 May 2014 16:22, Dave Tenny <dave.te...@gmail.com> wrote: > James, All well and good, but you still need to know if you're running in a > REPL environment, and make sure you do NOT call System/exit for any > (typical) reason in that environment. The idea is to test your (-main) > function from the REPL, without having to restart the lisp every time.
I think James's point was that, if your -main function is a thin wrapper that calls (app ...), then it's (app ...) you'd test at the REPL (apologies if I'm putting words into your mouth, James). Ray. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.