cvs commit: hat/src/hattools Pattern.hs

24 May
2006
24 May
'06
8:54 a.m.
malcolm 2006/05/24 05:54:18 PDT Modified files: src/hattools Pattern.hs Log: Partial fix for a hat-observe pattern involving infix constructors. Chained constructors like (_ :- _ :+ _ :* _) previously matched only on the first constructor (giving lots of false positives). Now the constructors are treated as left assocative, with equal precedence, which does the right thing for normal lists at least. (A full solution using known fixities from the trace file would be hugely more complex.) Revision Changes Path 1.15 +7 -4 hat/src/hattools/Pattern.hs
6937
Age (days ago)
6937
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace