Created
January 16, 2019 15:02
-
-
Save julianpeeters/ab4da293e1fd09ac9da92506168f8f65 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
| category | |
| arrow | |
| object | |
| initial object | |
| A B C | |
| A ----> B | |
| ----> C | |
| Category of Set | |
| ------------------- | |
| arrow = function | |
| object = Set | |
| Set() ---> Set(1) | |
| ---> Set(1,2) | |
| Category of Scal | |
| ------------------- | |
| arrow = function | |
| object = type | |
| Void --> 1 | |
| --> List(1) | |
| falsity => anything | |
| def vac1(n: Nothing): Int = 1 | |
| def vac2(n: Nothing): String = "1" | |
| def vac3[A](n: Nothing): A = something | |
| def something[A]: A = something | |
| def otherUnit[A](a: A): Unit = () | |
| def otherInt[A](a: A): Int = 1 | |
| ??? <-- 1 | |
| <-- List(1) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment