Advertisement
Guest User

composeFunction

a guest
Jan 14th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.20 KB | None | 0 0
  1. Implement a compose method with the following signature:
  2.  
  3. def compose[A, B, C](g: B => C, f: A => B): A => C = ???
  4.  
  5. This method must return a function h, which is the composition of the functions f and g.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement