title: How to generate TAGS for Haskell projects?
body: <p>I am looking for a ctags equivalent to Haskell. I tried <a href="http://hackage.haskell.org/package/hasktags">hasktags</a>, but it have some problems:</p>
  
  <p>In the source folder of <a href="http://hackage.haskell.org/package/enumerator">enumerator</a>, run <code>hasktags .</code> gives:</p>
  
  <pre><code>hasktags: tags: openFile: resource busy (file is locked)
  </code></pre>
  
  <p>And when I run <code>vim -t enumFile</code>, an error occurs:</p>
  
  <pre><code>E431: Format error in tags file "tags"
  Before byte 4085
  E426: tag not found: enumFile
  </code></pre>
  
  <p>I also tried <a href="http://kingfisher.nfshost.com/sw/gasbag/">gasbag</a>, but it doesn't compile on ghc-7.0.4. </p>