Unformatted text preview: subs _ = False subs (x:xs) (y:ys) | x == y && xs == = True | ys == && xs /= = False | x == y && x1 == y1 && subs x1s y1s = True | subs (x:xs) ys = True | otherwise = False where (x1:x1s) = xs (y1:y1s) = ys...
View Full Document
This note was uploaded on 11/10/2010 for the course CS 332F taught by Professor Russel during the Spring '10 term at California State University Los Angeles .
- Spring '10
- Functional Programming