On Dec 21, 5:53 pm, Stephen C. Gilardi squee...@mac.com wrote:
On Dec 21, 2008, at 4:43 PM, Stephen C. Gilardi wrote:
On Dec 21, 2008, at 4:40 PM, Rich Hickey wrote:
If main doesn't match the behavior of Repl and Script in this area
when run in repl or script modes respectively, it
The enclosed updated patch: unified-main-2.patch addresses all defects
I am aware of in its predecessor.
On Dec 17, 2008, at 6:10 PM, Stephen C. Gilardi wrote:
On Dec 17, 2008, at 2:27 PM, Rich Hickey wrote:
In what way is that the right thing to do?
The idea was that the sequence of
Hi Steve,
Thanks for your work on polishing up Clojure's entry point situation.
I've applied your patch and tried a series of typical entry point
scenarios; all but one of them worked for me. Just for the record,
here is what did work:
- Using -h to get help
- Using no options to boot into a
Steve,
Your version of repl_ln.clj works for me:
1:1 user= (+ 1 2)
3
1:2 user= (throw (Exception. test))
java.lang.Exception: test (repl-1:2)
Thanks again,
- Mark
On Sun, Dec 21, 2008 at 3:47 PM, Stephen C. Gilardi squee...@mac.com wrote:
Hi Mark,
Thanks for your work on polishing up
I have another quick observation:
The (System/exit 0) bit at the end of the main function changes the
behavior of some scripts I have for starting Jetty servers. The
scripts basically end with (.start server), were server is a Jetty
Server instance, and previously would run until control-C'd
Based on the bottom of the ruby code example on this page:
http://rjack.rubyforge.org/jetty/classes/Jetty/ServerFactory.html
A first guess is that this would work:
(.start server)
(.join server)
Join will wait for the thread to exit before continuing. That code
makes sense
If main doesn't match the behavior of Repl and Script in this area
when run in repl or script modes respectively, it needs to. Repl
calls exit, Script does not.
Rich
On Dec 21, 2008, at 4:30 PM, Stephen C. Gilardi wrote:
Based on the bottom of the ruby code example on this page:
On Dec 21, 2008, at 4:40 PM, Rich Hickey wrote:
If main doesn't match the behavior of Repl and Script in this area
when run in repl or script modes respectively, it needs to. Repl
calls exit, Script does not.
OK, I'll fix that.
--Steve
smime.p7s
Description: S/MIME cryptographic
On Dec 21, 2008, at 4:43 PM, Stephen C. Gilardi wrote:
On Dec 21, 2008, at 4:40 PM, Rich Hickey wrote:
If main doesn't match the behavior of Repl and Script in this area
when run in repl or script modes respectively, it needs to. Repl
calls exit, Script does not.
OK, I'll fix that.
This is