title: Directory contents in Haskell
body: <p>Is there a way of returning a list of files in a directory with their absolute paths. </p>
  
  <p>When I do </p>
  
  <pre><code>getDirectoryContents dir
  </code></pre>
  
  <p>it gives me a list of filenames in the directory. If I am using these filenames at another place, I need to know their absolute paths or the paths relative to the current working directory.</p>