title: GHC -ddump-splices option — Template Haskell
body: <p>I'm following the Yesod book, which states:</p>
  
  <blockquote>
    <p>But by using the -ddump-splices GHC option, we can get an immediate
    look at the generated code. A much cleaned up version of it is:</p>
  </blockquote>
  
  <p>How would I do this? I've tried compiling my file with <code>ghc -XTemplateHaskell -ddump-splices Page.hs</code>, which leaves the directory as follows:</p>
  
  <p><code>Page  Page.hi  Page.hs  Page.hs~  Page.o</code></p>
  
  <p>None of these files, however, contain the intermediate code generated by Template Haskell.</p>
  
  <p><a href="http://www.yesodweb.com/book/basics" rel="noreferrer">http://www.yesodweb.com/book/basics</a></p>