It's a minor thing, but wouldn't it be a good idea to put (defn quit
[] (System/exit 0)) in clojure core, just to make quitting out of the
REPL more obvious?  Ctrl-C and Ctrl-D work too, and are actually
shorter to type, but having a quit function seems to be an idiomatic
way of getting out of the interactive shell.  That's the way to do it
in Ruby, Python, Groovy, Scheme and Common Lisp, with the exceptions
being Erlang is halt() and Scala is :q.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to