diff options
author | Tom Smeding <tom@tomsmeding.com> | 2025-06-16 23:21:55 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2025-06-16 23:21:55 +0200 |
commit | 2b1a40b5933b8b0dceaae744e5b70cb604822c9d (patch) | |
tree | 652d6d88efd2b0b4502819297333305cec5242c4 /src/AST/UnMonoid.hs | |
parent | eed0f2999d6f6c8485ef53deb38f9d0a67b4f88e (diff) |
CHAD.hs compiles
Diffstat (limited to 'src/AST/UnMonoid.hs')
-rw-r--r-- | src/AST/UnMonoid.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/UnMonoid.hs b/src/AST/UnMonoid.hs index ac4d733..389dd5a 100644 --- a/src/AST/UnMonoid.hs +++ b/src/AST/UnMonoid.hs @@ -105,7 +105,7 @@ plus (SMTArr _ t) a b = a b plus (SMTScal t) a b = EOp ext (OAdd t) (EPair ext a b) -onehot :: SMTy t -> SAcPrj p t a -> Ex env (AcIdx p t) -> Ex env a -> Ex env t +onehot :: SMTy t -> SAcPrj p t a -> Ex env (AcIdxS p t) -> Ex env a -> Ex env t onehot typ topprj idx arg = case (typ, topprj) of (_, SAPHere) -> ELet ext arg $ |