From 535dd8edea2aa9b31d286459f5227d5dd2dc0783 Mon Sep 17 00:00:00 2001 From: krasimir Date: Sun, 28 Jul 2002 14:10:03 +0000 Subject: [PATCH] [project @ 2002-07-28 14:10:03 by krasimir] Documentation for #size --- ghc/docs/users_guide/utils.sgml | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/ghc/docs/users_guide/utils.sgml b/ghc/docs/users_guide/utils.sgml index 6eb8ada..76a7234 100644 --- a/ghc/docs/users_guide/utils.sgml +++ b/ghc/docs/users_guide/utils.sgml @@ -11,30 +11,30 @@ Ctags and Etags for Haskell: <command>hasktags</command> hasktags CTAGS for Haskell - + 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. - + Invocation Syntax: - + -hasktags files +hasktags files This will read all the files listed in and produce a ctags "tags" file and an etags "TAGS" file in the current directory. - + Example usage - + 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 guranteed 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. - + parsing rules to find definitions of functions, constructors, and types. It isn't guranteed 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. @@ -46,7 +46,7 @@ find -name \*.\*hs | xargs hasktags - +