[cvs-nhc98] Re-introduce pattern queries in hat-observe. There is now
Malcolm Wallace
malcolm@sparud.net
Thu, 2 May 2002 21:26:07 +0200 (CEST)
malcolm: Thu May 2 21:26:07 CEST 2002
Update of /usr/src/master/nhc/src/hat/tools
In directory hinken:/tmp/cvs-serv17995
Modified Files:
HatObserve.hs Makefile SExp.hs
Added Files:
Pattern.hs ParseLib.hs
Log Message:
Re-introduce pattern queries in hat-observe. There is now a proper
lexer and (combinator) parser for patterns, and it can deal with
infix constructors/variables using the normal Haskell syntax. The
only caveat with infix patterns is that fixity is not known, so the
user must parenthesise them explicitly.