Guest User

Untitled

a guest
Jun 12th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foldList :: (Int -> a -> a) -> a -> List -> a
  2. foldList f c Nil = c
  3. foldList f c (Cons x xs) = f (foldList f c xs) x
Add Comment
Please, Sign In to add comment