aboutsummaryrefslogtreecommitdiff
path: root/src/CHAD/AST/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/CHAD/AST/Types.hs')
-rw-r--r--src/CHAD/AST/Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CHAD/AST/Types.hs b/src/CHAD/AST/Types.hs
index 059077d..f0feb55 100644
--- a/src/CHAD/AST/Types.hs
+++ b/src/CHAD/AST/Types.hs
@@ -31,6 +31,8 @@ type data Ty
type data ScalTy = TI32 | TI64 | TF32 | TF64 | TBool
+-- | Scalar types happen to be bundled in 'SScalTy' as this is sometimes
+-- convenient, but such scalar types are not special in any way.
type STy :: Ty -> Type
data STy t where
STNil :: STy TNil