This preview shows page 1. Sign up to view the full content.
Unformatted text preview: drop n (x:xs) = drop (n-1) xs splitAt 0 x = (,x) splitAt n = (,) splitAt n xs = (take n xs, drop n xs)...
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