This preview shows page 1. Sign up to view the full content.
Unformatted text preview: deleteAll :: Eq a => a -> [a] -> [a] deleteAll x = deleteAll x (y:ys) | x == y = (deleteAll x ys) | otherwise = (y : ( deleteAll x 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