summaryrefslogtreecommitdiff
path: root/src/AST/Accum.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-03-17 23:19:44 +0100
committerTom Smeding <tom@tomsmeding.com>2025-03-17 23:19:44 +0100
commitdee165294d6b92b153a0b65e21f58f8073186d68 (patch)
tree0c9af35080dea594cd72d63c77a978a6a3616906 /src/AST/Accum.hs
parent8ca9ceef96afffdc9d4bc266c978a6b4374131e6 (diff)
Compile EAccum
Diffstat (limited to 'src/AST/Accum.hs')
-rw-r--r--src/AST/Accum.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AST/Accum.hs b/src/AST/Accum.hs
index 6c46ad5..67c5de7 100644
--- a/src/AST/Accum.hs
+++ b/src/AST/Accum.hs
@@ -29,6 +29,7 @@ data SAcPrj (p :: AcPrj) (a :: Ty) (b :: Ty) where
SAPLeft :: SAcPrj p a b -> SAcPrj (APLeft p) (TEither a t) b
SAPRight :: SAcPrj p a b -> SAcPrj (APRight p) (TEither t a) b
SAPJust :: SAcPrj p a b -> SAcPrj (APJust p) (TMaybe a) b
+ -- TODO: This SNat is rather useless, you always have an STy around too
SAPArrIdx :: SAcPrj p a b -> SNat n -> SAcPrj (APArrIdx p) (TArr n a) b
-- TODO:
-- SAPArrSlice :: SNat m -> SAcPrj (APArrSlice m) (TArr n t) (TArr (n - m) t)