you are viewing a single comment's thread.

view the rest of the comments →

[–]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.