summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Soat/SecondOrder/Algebra.idr2
1 files changed, 1 insertions, 1 deletions
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