jyp / dante

389 stars 52 forks source link

Use :load! and :reload! instead of :l! :r! #171

Open stevladimir opened 1 year ago

stevladimir commented 1 year ago

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.
stevladimir commented 1 year ago

Friendly ping!

bobekjan commented 1 year ago

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.