On Fri, Jul 3, 2015 at 1:11 PM, Stefan Reich <stefan.reich.maker.of.eye@googlemail.com> wrote:
Here's a general question: Can the output of the Haskell compiler be inspected in some - readable - way?

ghc -ddump-simpl (meaning output of the simplifier pass, commonly known as Core)

There at least used to be a package "ghc-core" which would do this and syntax highlight the result, etc. to help with reading it. 

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net