Support GHC 8.10.7 and GHC 9.4.7
This MR slightly changes the project so that it builds cleanly on GHC 8.10.7 and GHC 9.4.7.
In particular, the only minor change is that I have dropped the use of panic
, because the module it comes from it's a GHC internal one that changed location in newer GHC versions (i.e. from Panic
to GHC.Utils.Panic
). Generally speaking it's not a good idea to depend on GHC internal modules, as they come without warranty or compatibility plans.