Upgrade GHC for Haskell

Describe your feature request

Please upgrade GHC to a more up to date version.

What problem(s) would this feature solve?

Some extensions like LexicalNegation don’t work with the currently available GHC version. This would be very important for beginners especially, because it makes it much easier to use negative numbers, without unnecessary parentheses and sometimes difficult to decipher type errors. 6.2.20. Lexical negation — Glasgow Haskell Compiler 9.7.20230311 User's Guide

One more beginner friendly feature is that starting from version 9.2 it’s significantly easier print unicode characters. By default these are rendered as numbers.

Also, newer versions use the GHC2021 language by default, which enables many commonly used extensions by default.

Explain what you were trying to do when you came across the problem leading to this feature request

Share some code with people who are not familiar with Haskell.

1 Like