diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-11-10 10:04:27 +0100 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-11-10 10:04:27 +0100 |
commit | 42d59947356ab51e5a4070b930f02f4909208d35 (patch) | |
tree | 3c8afab888e61c4e3157a257f0a40ae2fd4eb9c1 /src/AST/Types.hs | |
parent | 33e0ed21603cbd85d6aba6548811db27480647db (diff) |
Complete GMM implementation
Diffstat (limited to 'src/AST/Types.hs')
-rw-r--r-- | src/AST/Types.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/AST/Types.hs b/src/AST/Types.hs index 5688277..adcc760 100644 --- a/src/AST/Types.hs +++ b/src/AST/Types.hs @@ -100,3 +100,10 @@ type family ScalIsFloating t where ScalIsFloating TF32 = True ScalIsFloating TF64 = True ScalIsFloating TBool = False + +type family ScalIsIntegral t where + ScalIsIntegral TI32 = True + ScalIsIntegral TI64 = True + ScalIsIntegral TF32 = False + ScalIsIntegral TF64 = False + ScalIsIntegral TBool = False |