`-ddump-rdr' reader output (earliest stuff in the compiler) `-ddump-rn' renamer output `-ddump-tc' typechecker output `-ddump-deriv' derived instances `-ddump-ds' desugarer output `-ddump-simpl' simplifer output (Core-to-Core passes) `-ddump-stranal' strictness analyser output `-ddump-occur-anal' `occurrence analysis' output `-ddump-spec' dump specialisation info `-ddump-stg' output of STG-to-STG passes `-ddump-absC' unflattened Abstract C `-ddump-flatC' flattened Abstract C `-ddump-realC' same as what goes to the C compiler `-ddump-asm' assembly language from the native-code generator
% ghc -noC -O -ddump-simpl -dverbose-simpl -dcore-lint Foo.hs