Fix overlap with sequences.

original commit: 99f01f5260388ad019678d9ec4ad1a886fa43356
This commit is contained in:
Sam Tobin-Hochstadt 2012-02-20 15:09:14 -05:00
parent 2c4fc39937
commit 4c849a4eda

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]