Created
August 5, 2014 08:23
-
-
Save anonymous/15042bf07555e7ed9934 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
data TType = TypeInt | TypeBool | TypeVec TType | |
data TExpr a where | |
TInt :: Int -> TExpr Int | |
TBool :: Bool -> TExpr Bool | |
TIVar :: StrictText -> TExpr Int | |
TBVar :: StrictText -> TExpr Bool | |
TSum :: [TExpr Int] -> TExpr Int | |
TVecGet :: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment