Aug. 11th, 2012

izard: (Default)
Just upgraded counterclockwise (clojure plugin for eclipse), and faced a problem:

With older version I was able to run a clojure app from REPL, and keep using REPL to experiment with app's state while it was running. Not with latest counterclockwise. Now REPL is useless until app finishes or I kill it.

There should be a workaround (to start-off app asynchronously) and I am certain I will find it. I just don't understand the motivation behind the change, it defies the most beautiful feature of REPL: ability to experiment with a live system.

Upd: After 10 minutes thinking it is obvious that I should now just type
REPL> (future -main)
instead of
REPL> (-main)
All works as expected. Still no idea why the default behavior was changed.

Profile

izard: (Default)
izard

September 2025

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 2nd, 2025 09:20 am
Powered by Dreamwidth Studios