GHC User Guide – Language Features
GHC User Guide is the most underrated resource, it’s a pity to see lots of questions, misleading blog posts, and frustration just because people never tried to read GHC manual.
Read the GHC User’s Guide.
Anything that a compiler accepts might end up in the code base. So get to know your compiler.