Re:Why hasn't Haskell taken over the world? And the curious ...
by codygman on Sunday January 22, 2017 @04:41AM
(#13454451)
A bug report that is a good example of how to read core, at least it seemed easy to tie the very simplistic code to the expanded core in combination with the commentary.
https://ghc.haskell.org/trac/ghc/ticket/11710
Another good tip is to use the ghc option `-ddump-rule-firings` to see if code gets inlined or otherwise optimized.