Changes to the hat-observe :info command.

malcolm: Thu Oct 17 12:36:48 CEST 2002 Update of /usr/src/master/nhc/src/hat/tools In directory hinken:/tmp/cvs-serv5867 Modified Files: HatObserve.hs LowLevel.hs Makefile Observe.hs artutils.c hat-names.c Log Message: 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.
participants (1)
-
malcolmīŧ sparud.net