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
>
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
field.org/
>>
>> "If you're not annoying somebody, you're not really alive."
>> -- Margaret Atwood
>>
>>
>> --
>> *From:* clojure@googlegroups.com <clojure@googlegroups.com> on behalf of
>> Justin Smith <
u're not annoying somebody, you're not really alive."
> -- Margaret Atwood
>
>
> --
> *From:* clojure@googlegroups.com <clojure@googlegroups.com> on behalf of
> Justin Smith <noisesm...@gmail.com>
> *Sent:* Saturday, December 9, 2017 2
live."
-- Margaret Atwood
From: clojure@googlegroups.com <clojure@googlegroups.com> on behalf of Justin
Smith <noisesm...@gmail.com>
Sent: Saturday, December 9, 2017 2:55:17 PM
To: clojure@googlegroups.com
Subject: Re: Terminating 'clj' REPL session
I find the fact that
This really just the standard behavior of clojure.main, not a feature of the
clj tool, so this would require a change in Clojure itself.
--
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
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
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
user=> exit
CompilerException java.lang.RuntimeException: Unable to