Hacker News new | ask | show | jobs
by codygman 3442 days ago
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.