I\'ve been using Scala with SBT quite a bit lately. The REPL loop of has a handy feature: ~ COMMAND, meaning perform COMMAND for every source file change in the pro
~ COMMAND
You can script ghci to both define your own commands, and augment existing commands. To do this:
:def
:reload
More info on GHCi :def commands is here.