hi, I am experimenting at the repl with a while form. For now I just write 
it as (while true ...) and interrupt it with C-c C-b. This is for a basic 
socket server. 

Recently I noticed a difference in how C-c C-b behaves that I don't 
understand. Normally when I interrupt, the repl returns immediately to the 
prompt, regardless of the client state. However if I swap one function for 
another, when I interrupt the repl doesn't return to the prompt until I 
initiate some action on the client end -- say, close the connection on the 
client end, or if all connections are closed, try to open a new connection. 

Is there a rule of thumb for under what conditions the repl will return to 
the prompt on an interrupt?

-- 
-- 
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/groups/opt_out.


Reply via email to