Fix overlap with sequences.

This commit is contained in:
Sam Tobin-Hochstadt 2012-02-20 15:09:14 -05:00
parent c7234772a4
commit 99f01f5260

View File

@ -60,6 +60,9 @@
[(list (Pair: a b) (Pair: a* b*))
(and (overlap a a*)
(overlap b b*))]
;; lots of things are sequences
[(list (Sequence: _) _) #t]
[(list _ (Sequence: _)) #t]
[(or (list (Pair: _ _) _)
(list _ (Pair: _ _)))
#f]