[cvs-nhc98] patch applied (hat): Changes to the hat-observe :info
command.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:21:58 EDT 2006
Thu Oct 17 03:37:28 PDT 2002 malcolm
* Changes to the hat-observe :info command.
Previously, all of :info was implemented in C. Now, only the search of
the file for identifiers/counts is in C. All the identifier information
is transferred to Haskell as a symbol table, and Haskell sorts it for
presentation to the user.
For the moment, we just sort identifiers by module, then
alphabetically. However, the possibility is now open for many
different kinds of info display, e.g. sorted by count, one module only,
more detailed info about a particular identifier, separate info for
constructors, locals etc. We also now have the opportunity to use
qualified identifiers in patterns, to resolve fixity/precedence in
patterns, etc.
M ./src/hattools/HatObserve.hs -7 +17
A ./src/hattools/Ident.hs
M ./src/hattools/LowLevel.hs -6 +6
M ./src/hattools/Makefile -1 +1
M ./src/hattools/Observe.hs -2 +6
M ./src/hattools/artutils.c -4 +14
M ./src/hattools/hat-names.c -56 +142
More information about the Cvs-nhc98
mailing list