Last active
November 11, 2017 14:44
-
-
Save mandubian/8441cc66268dffa3baf88cd38fb42842 to your computer and use it in GitHub Desktop.
Category
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
trait Cat[->[_, _]] { | |
def id[A]: A -> A | |
def ○[A, B, C]: (B -> C) => (A -> B) => (A -> C) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment