Re: Terminating 'clj' REPL session

2017-12-11 Thread Oleksandr Shulgin
On Sat, Dec 9, 2017 at 11:37 PM, Alan Thompson wrote: > Hi - Just downloaded the new Clojure 1.9.0 package. When I tried the repl > I noticed that it doesn't respond to either `exit` or `quit` as one might > expect from the lein repl: > > ~/cool/tools > clj > Clojure 1.9.0 > user=> (+ 2 3) > 5 >

Re: Terminating 'clj' REPL session

2017-12-10 Thread Alex Miller
Sure, file a ticket. -- 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

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
l-d as the first option >> for exiting a REPL: >> >> >> >> Exit: Control+D … >> >> >> >> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> >> "If you'

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
ody, you're not really alive." > -- Margaret Atwood > > > -- > *From:* clojure@googlegroups.com on behalf of > Justin Smith > *Sent:* Saturday, December 9, 2017 2:55:17 PM > *To:* clojure@googlegroups.com > *Subject:* Re: Terminating

RE: Terminating 'clj' REPL session

2017-12-09 Thread Sean Corfield
re not really alive." -- Margaret Atwood From: clojure@googlegroups.com on behalf of Justin Smith Sent: Saturday, December 9, 2017 2:55:17 PM To: clojure@googlegroups.com Subject: Re: Terminating 'clj' REPL session I find the fact that "exit" and "quit&quo

Re: Terminating 'clj' REPL session

2017-12-09 Thread Justin Smith
I find the fact that "exit" and "quit" work in leiningen repls to be weird - this doesn't follow the otherwise consistent rules of the language. What about an exit function, something like (defn exit ([] (exit 0)) ([n] (System/exit n)) so that it's not an out of band special case input? On S