Created
November 11, 2017 20:21
-
-
Save mandubian/c2e791e128df6011b1c7f46c4614973f to your computer and use it in GitHub Desktop.
This file contains 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
implicit val Function1Cat: Cat[Function1] = new Cat[Function1] { | |
def id[A]: A => A = identity | |
def ○[A, B, C]: (B => C) => (A => B) => (A => C) = f => g => f compose g | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment