summaryrefslogtreecommitdiff
path: root/src/Simplify.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Simplify.hs')
-rw-r--r--src/Simplify.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simplify.hs b/src/Simplify.hs
index f5eb0a1..6f97e6d 100644
--- a/src/Simplify.hs
+++ b/src/Simplify.hs
@@ -359,11 +359,11 @@ checkAccumInScope = \case SNil -> False
check STNil = False
check (STPair s t) = check s || check t
check (STEither s t) = check s || check t
+ check (STLEither s t) = check s || check t
check (STMaybe t) = check t
check (STArr _ t) = check t
check (STScal _) = False
check STAccum{} = True
- check (STLEither s t) = check s || check t
data OneHotTerm env p a b where
OneHotTerm :: SMTy a -> SAcPrj p a b -> Ex env (AcIdx p a) -> Ex env b -> OneHotTerm env p a b