RWH suddenly started using runhaskell instead of runghc. What's the difference? As far as I can tell, they work the same.
runhaskell
can run whatever Haskell interpreter you're using on your system—it does not necessarily have to be GHCi. For example, runhaskell
could instead point to runhugs
or runjhc
or whatever, if appropriate.
Essentially, it's just a nice alias. By using it, you make it much easier to change which compiler you're using in the future. After all, having runghc
run jhc
instead would be confusing!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With