Created
October 25, 2014 14:13
-
-
Save krishnabhargav/a7433c98c1d0ffb9d7f1 to your computer and use it in GitHub Desktop.
f compose g in Scala .. Chapter 2 FP In Scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def compose[A,B,C] (f: B => C, g : A => B) : A => C = a => f(g(a)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment