Guest User

Untitled

a guest
Apr 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. i. f x xs = xs
  2. ii. f x xs = x+1
  3. iii. f x xs = x ++ xs
  4. iv. f x (y:ys) = y
  5.  
  6. i) f :: a -> a -> a
  7.  
  8. ii) f :: Int -> a -> Int
  9.  
  10. iii) f :: Eq a => a -> a -> a
  11.  
  12. iv) f :: a -> [a] -> a
Add Comment
Please, Sign In to add comment