On Tue, Jul 27, 2010 at 11:32 AM, Peter Schuller <peter.schul...@infidyne.com> wrote: >> I, however, have still been doing a more traditional >> write/save/execute debugging workflow without the REPL, which doesn't >> seem to get the real benefits of the REPL. From what I understand, >> when you take full advantage of the REPL, you can quickly tweak things >> in the code like if a function breaks, you can rewrite it and start >> again. Say for example a GUI is opened and a button press calls some >> clojure function. If there's a bug in that, I can redefine that >> function in the REPL and just click again on the button to continue >> without losing the state of the program when I recompile. Is this >> correct?
I didn't see any mention of an editor choice in your message, I would recommend getting started with the Clojure plugin for your editor of choice (be it Vim, Emacs, Eclipse or anything else) based on the instructions here: http://www.assembla.com/wiki/show/clojure/Getting_Started , most of the editors there have some kind of interactive REPL that sounds like it would be helpful for you. > There is something similar for vim (I'm sure a vim user will chime in). Vim's equivalent is VimClojure - http://kotka.de/projects/clojure/vimclojure.html The way I use VimClojure is spawn an in-editor REPL and have vimclojure eval the file, then I can use the methods defined in the file from within the editor's REPL, if I change a function VimClojure has keybindings to eval a form, which updates the definition of the method and I can try it from the REPL again without reloading anything. - Lee -- 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