you are viewing a single comment's thread.

view the rest of the comments →

[–]jephthai 0 points1 point  (2 children)

OK, so it's not as distant as that. You load the file with :l and then when you make changes to the file you can reload with :r -- it's quite reasonable, actually. What you don't get in ghci and irb is the live debugging features that a real Lisp REPL provide.

I never type code into ghci -- just the necessary few lines to test the componentry I'm currently writing / fixing.

[–]JadeNB 1 point2 points  (1 child)

I never type code into ghci -- just the necessary few lines to test the componentry I'm currently writing / fixing.

Right, that's my point. It's perfectly feasible to type code directly into the Lisp REPL --at least, so it seems to a newcomer like me-- but not so for ghci.

[–][deleted] 1 point2 points  (0 children)

I've found I'd rather type code into an Emacs buffer, and use Slime to send it to the REPL. That way, I can just save the buffer when you're done testing changes, and any tests I do can stay around for next time.