summaryrefslogtreecommitdiff
path: root/src/LambdaCube/Compiler/CGExp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/LambdaCube/Compiler/CGExp.hs')
-rw-r--r--src/LambdaCube/Compiler/CGExp.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/LambdaCube/Compiler/CGExp.hs b/src/LambdaCube/Compiler/CGExp.hs
index 21a02e8d..b2f19c9f 100644
--- a/src/LambdaCube/Compiler/CGExp.hs
+++ b/src/LambdaCube/Compiler/CGExp.hs
@@ -214,7 +214,7 @@ pattern TCon0 n = A0 n
214pattern TCon t n = Con (n, t) [] 214pattern TCon t n = Con (n, t) []
215 215
216pattern TUnit <- A0 "Tuple0" 216pattern TUnit <- A0 "Tuple0"
217pattern TBool <- A0 "Bool" 217pattern TBool = A0 "Bool"
218pattern TWord <- A0 "Word" 218pattern TWord <- A0 "Word"
219pattern TInt <- A0 "Int" 219pattern TInt <- A0 "Int"
220pattern TNat = A0 "Nat" 220pattern TNat = A0 "Nat"
@@ -270,3 +270,7 @@ getSwizzChar = \case
270 A0 "Sw" -> Just 'w' 270 A0 "Sw" -> Just 'w'
271 _ -> Nothing 271 _ -> Nothing
272 272
273outputType = TCon0 "Output"
274boolType = TBool
275trueExp = TCon TBool "True"
276