Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. chunks n [] = []
  2. chunks n xs = take n xs : chunks n (drop n xs)
  3.  
  4. take n xs ++ drop n xs == xs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement