Created
July 20, 2019 23:12
-
-
Save calebh/b81d43be96238e99357fb1b91daf320f 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
map | |
[(TyVar ("t1",Star), TConExpr (TyCon (TyConUnit,Star))); | |
(TyVar ("t2",Star), TConExpr (TyCon (TyConNumber,Star)))] | |
Type error: The types () and Number are not equal. | |
Clearly unit isn't the same type as a number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment