I've installed Haskell on my Mac using Homebrew, that is brew install ghc haskell-platform.
I'm looking for a way to generate a ctags file of the standard Haskell Platform libraries (modules) so I could browse the source while coding in Vim. I specifically need Prelude and the other most popular modules, like Data.List and such.
I am aware that the source is available on the web via Hoogle, but It'll be easier for me to jump-to-source whenever I need to, for learning purposes.
- Where is the source located when installing the Haskell Platform?
- Is the source even installed when installing the Haskell Platform, or just the compiled binaries or something of the sort?
- How can I make the source available for browsing in Vim? As in put the generated
tagsfile somewhere and tell Vim to read from it. I also understand there's no need to re-generate thetagsfile, since these modules are pretty much static and don't get updated very often.