diff options
Diffstat (limited to 'src/LambdaCube/Compiler/CGExp.hs')
-rw-r--r-- | src/LambdaCube/Compiler/CGExp.hs | 6 |
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 | |||
214 | pattern TCon t n = Con (n, t) [] | 214 | pattern TCon t n = Con (n, t) [] |
215 | 215 | ||
216 | pattern TUnit <- A0 "Tuple0" | 216 | pattern TUnit <- A0 "Tuple0" |
217 | pattern TBool <- A0 "Bool" | 217 | pattern TBool = A0 "Bool" |
218 | pattern TWord <- A0 "Word" | 218 | pattern TWord <- A0 "Word" |
219 | pattern TInt <- A0 "Int" | 219 | pattern TInt <- A0 "Int" |
220 | pattern TNat = A0 "Nat" | 220 | pattern 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 | ||
273 | outputType = TCon0 "Output" | ||
274 | boolType = TBool | ||
275 | trueExp = TCon TBool "True" | ||
276 | |||