Created
November 12, 2017 22:06
-
-
Save mandubian/4b6a7e0c01afaf54b1e062e3c371bc3d to your computer and use it in GitHub Desktop.
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
trait ClosedCartesianCat[->[_, _]] extends CartesianCat[->] { | |
def it[A]: A -> Unit | |
def ap[A, B]: ((A -> B), A) -> B | |
def curry[A, B, C]: ((A, B) -> C) => (A -> (B :=> C)) | |
def uncurry[A, B, C]: (A -> (B -> C)) => ((A, B) -> C) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment