What does Core Haskell applying types to functions mean?
问题 I wrote a custom pretty printer for Core Haskell in order to better study Core's structure. The gist of this pretty printer is that it takes a CoreModule and includes data constructors in the output, which the default Outputable implementation does not seem to do. Here is the code of the module that I am running the pretty printer on: module Bar2 where add :: Int -> Int -> Int add a b = a + b add2 a b = a + b Here is the pretty printer output: ------------------------------- Module Metadata -