title: Trouble with $forall in hamlet template
body: <p>I'm having a strange issue with hamlet.  I'm trying to use $forall to iterate through a list, but I keep getting a "Not in scope" error.  I'm running yesod 0.9.2.2 on Win7.</p>
  
  <p>Terrible design aside, anyone have any idea where I'm going wrong?  Removing the variable interpolation of "db" lets in execute fine.</p>
  
  <p>The relevant hamlet:</p>
  
  <pre><code> !!!
  &lt;h1&gt; Database List
  &lt;hr&gt;
  &lt;table&gt;
  
    &lt;tr&gt;
         &lt;td&gt; Host
         &lt;td&gt; Status
    $forall db &lt;- dbList
    &lt;tr&gt;
         &lt;td&gt; #{host db}
  </code></pre>
  
  <p>The relevant handler code:</p>
  
  <pre><code>data Database = Database {dbType :: DBType,
                          host :: String,
                          user :: String,
                          password :: String
                         }
  
  
  dbList = [Database Oracle "cpalmerws" "system" "***",
            Database Oracle "bdblnx" "system" "***",
            Database Postgres "localhost" "postgres" "***"]
  
  getDBStatusR :: Handler RepHtml
  getDBStatusR = do
    mu &lt;- maybeAuth
    defaultLayout $ do
      setTitle "DB Status Page"
      addWidget $(widgetFile "dbstatus")
  </code></pre>
  
  <p>I'm getting this error when running yesod devel:</p>
  
  <pre><code>Handler\DBStatus.hs:47:17:
      Not in scope: `db'
      In the result of the splice:
        $(widgetFile "dbstatus")
      To see what the splice expanded to, use -ddump-splices
      In the first argument of `addWidget', namely
        `$(widgetFile "dbstatus")'
      In the expression: addWidget ($(widgetFile "dbstatus"))
  Starting development server...
  
  dist\devel.hs:3:1:
      Failed to load interface for `Application':
        it is not a module in the current program, or in any known package.
  Exit code: ExitFailure 1
  </code></pre>