Created
July 20, 2019 22:36
-
-
Save calebh/6267ef856f6fa99fd539500698808205 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
type BaseTyCon = TyConNumber | |
| TyConBool | |
| TyConUnit | |
| TyConList | |
| TyConFun | |
| TyConTuple | |
| TyConUserDefined of string | |
type TyCon = TyCon of BaseTyCon * Kind | |
type TyVar = TyVar of string * Kind | |
type TyExpr = TVarExpr of TyVar | |
| TConExpr of TyCon | |
| TApExpr of TyExpr * TyExpr | |
type Scheme = Forall of ((TyVar list) * TyExpr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment