Table of Contents
This section describes other program(s) which we distribute, that help with the Great Haskell Programming Task.
hasktags is a very simple Haskell program that produces ctags "tags" and etags "TAGS" files for Haskell programs.
When loaded into an editor such an NEdit, Vim, or Emacs, this allows one to easily navigate around a multi-file program, finding definitions of functions, types, and constructors.
This will read all the files listed in
files and produce a ctags "tags" file and an etags "TAGS" file in the current directory.
find -name \*.\*hs | xargs hasktags
This will find all haskell source files in the current directory and below, and create tags files indexing them in the current directory.
hasktags is a simple program that uses simple parsing rules to find definitions of functions, constructors, and types. It isn't guaranteed to find everything, and will sometimes create false index entries, but it usually gets the job done fairly well. In particular, at present, functions are only indexed if a type signature is given for them.
Before hasktags, there used to be fptags and hstags, which did essentially the same job, however neither of these seem to be maintained any more.