patch applied (hat): Partial fix for a hat-observe pattern involving infix constructors.

10 Oct
2006
10 Oct
'06
7:33 a.m.
Wed May 24 05:54:18 PDT 2006 malcolm * 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.) M ./src/hattools/Pattern.hs -4 +7
6797
Age (days ago)
6797
Last active (days ago)
0 comments
1 participants
participants (1)
-
Malcolm Wallace