summaryrefslogtreecommitdiff
path: root/src/AST/Types.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-03-14 23:29:51 +0100
committerTom Smeding <tom@tomsmeding.com>2025-03-14 23:29:51 +0100
commitfff6beda3523abce3d27037ea2fb020fce31f502 (patch)
treefbcfb97a8eb2366ec46e0612b4b308741a8b601e /src/AST/Types.hs
parent137eaa13144c2599ac29da9ebd3af24ac1ce8968 (diff)
Much process with accumulator revamp
Diffstat (limited to 'src/AST/Types.hs')
-rw-r--r--src/AST/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/Types.hs b/src/AST/Types.hs
index be7cffe..0b41671 100644
--- a/src/AST/Types.hs
+++ b/src/AST/Types.hs
@@ -21,7 +21,7 @@ data Ty
| TMaybe Ty
| TArr Nat Ty -- ^ rank, element type
| TScal ScalTy
- | TAccum Ty
+ | TAccum Ty -- ^ the accumulator contains D2 of this type
deriving (Show, Eq, Ord)
data ScalTy = TI32 | TI64 | TF32 | TF64 | TBool