title: How to define a variable contained in a tuple?
body: <p>Every time I tried to run this code, the compiler returns a 'not in scope' error for the variables <code>redirectUrlGraphEmail</code>, <code>redirectUrlGraphPost</code>, <code>aboutContents</code>, and <code>staticDir</code>:</p>
  
  <pre><code>routes :: [ (String, ServerPart Response)]
  routes = [
  ("graph-fb", seeOther redirectUrlGraphEmail $ toResponse ""),
  ("post-fb", seeOther redirectUrlGraphPost $ toResponse ""),               
  ("about", aboutResponse aboutContents),
  ("static", serveDirectory DisableBrowsing [] staticDir)]
  </code></pre>
  
  <p>These variables are declared by:</p>
  
  <pre><code>staticDir &lt;- getStaticDir
  redirectUrlGraphEmail &lt;- retrieveAuthURL testUrl
  redirectUrlGraphPost &lt;- retrieveAuthURL testPostUrl
  aboutContents &lt;- LazyIO.readFile $ markdownPath ++ "README.md"
  privacyContents &lt;- LazyIO.readFile $ markdownPath ++ "PRIVACY.md"
  </code></pre>
  
  <p>but I am not sure where should I add these lines into the module. Any help here?</p>