Advertisement
Guest User

Untitled

a guest
Dec 19th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   3 acc f (a, b) x
  2.   4     | f x = (x:a, b)
  3.   5     | otherwise = (a, x:b)
  4.   6
  5.   7 splitWith f = foldl (acc f) ([], [])
  6.   8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement