Switch to GHC-8.10
Clarification and motivation
GHC-8.10 was released some time ago and we'll need to switch to it at some point. I think the right time will be after LTS resolver for ghc-8.10.* is released. So I am not proposing to do it right now. But we can try nightly resolver already (recent nightly resolvers have ghc-8.10.1).
We should keep in mind the following issue: https://gitlab.haskell.org/ghc/ghc/-/issues/18478. It causes compilation time to be INSANE on our code. Fortunately, it has some workarounds. We can either disable
StrictData or disable some warnings. There are at most three modules where we should do it:
Michelson.Typed.Sing. Another good thing is that apparently the issue is resolved already and the fix was ported to 8.10.2.
The repository uses LTS Stackage resolver for ghc-8.10.* and everything compiles just fine (within reasonable amount of time),