From 7c8591b566baeb6af42a22b8979c53ebdcab5479 Mon Sep 17 00:00:00 2001 From: Greg Brown Date: Fri, 25 Nov 2022 14:23:42 +0000 Subject: Remove unnecessary pattern matching. --- src/Soat/SecondOrder/Algebra.idr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Soat/SecondOrder/Algebra.idr b/src/Soat/SecondOrder/Algebra.idr index f0a0ef7..3ce1726 100644 --- a/src/Soat/SecondOrder/Algebra.idr +++ b/src/Soat/SecondOrder/Algebra.idr @@ -14,7 +14,7 @@ extend x ctx ty = x (snd ty) (fst ty ++ ctx) public export extendRel : {U : a -> List a -> Type} -> (rel : IRel (uncurry U)) -> (ctx : List a) -> IRel (extend U ctx) -extendRel rel ctx (ctx', t) = rel (t, ctx' ++ ctx) +extendRel rel ctx ty = rel (snd ty, fst ty ++ ctx) public export algebraOver : (sig : Signature) -> (U : sig.T -> List sig.T -> Type) -> Type -- cgit v1.2.3