izard: (Default)
[personal profile] izard
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.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

izard: (Default)
izard

July 2025

S M T W T F S
  12345
67 8 91011 12
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 24th, 2025 01:24 pm
Powered by Dreamwidth Studios