The Glasgow Haskell Compiler (GHC) is a native or machine code compiler for the functional programming language Haskell.[5] It provides a cross-platform software environment for writing and testing Haskell code and supports many extensions, libraries, and optimisations that streamline the process of generating and executing code. GHC is the most commonly used Haskell compiler.[6] It is free and op