diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2025-11-11 23:56:47 +0100 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2025-11-11 23:56:47 +0100 |
| commit | dc61318a22e3492774ab6f6345c9a369222ef2f6 (patch) | |
| tree | 6b7b0bd1d194666b3ba6eb5f85e620bf850fee69 /src/CHAD/AST/Types.hs | |
| parent | cd135319f65f40a554d864b2a878a4ef44043a98 (diff) | |
User-facing API suggestion
Diffstat (limited to 'src/CHAD/AST/Types.hs')
| -rw-r--r-- | src/CHAD/AST/Types.hs | 2 |
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 |
