diff --git a/src/Diff.hs b/src/Diff.hs index 5b326c734..3ec4b1a19 100644 --- a/src/Diff.hs +++ b/src/Diff.hs @@ -69,8 +69,7 @@ evalDiffRM algebra = go env <- ask let extended = foldr (uncurry envExtend) env bindings local (const extended) $ algebra (Copy bindings ann syntax) - Patch patch -> algebra (Patch patch) - Var var -> algebra (Var var) + _ -> algebra diff diffSum :: (Foldable syntax, Functor syntax) => (forall a. Patch a -> Int) -> Diff syntax ann -> Int