dante
dante copied to clipboard
Use :load! and :reload! instead of :l! :r!
On older GHCs (e.g. 8.8.4) shortcuts with '!' does not work
$ ghci
GHCi, version 8.8.4: https://www.haskell.org/ghc/ :? for help
Prelude> :r!
unknown command ':r!'
use :? for help.
Prelude> :reload!
Ok, no modules loaded.
Friendly ping!
Please merge this!
I recently updated my Emacs packages, which broke dante, much to my dismay. I subsequently spent 2 hours tracking this exact problem down. GHC 8.8.4 is the version shipped with current Debian stable ("bullseye"), so the GHC version is not as old as to be irrelevant.