summaryrefslogtreecommitdiff
path: root/src/Soat/SecondOrder/Algebra.idr
diff options
context:
space:
mode:
authorGreg Brown <greg.brown01@ed.ac.uk>2022-12-05 14:41:02 +0000
committerGreg Brown <greg.brown01@ed.ac.uk>2022-12-05 14:41:02 +0000
commit8ff37b98737f4af5bd11d3006ae1b26902a1a82f (patch)
treedcf38ec9122ff6d2a874d019563bc8e24af97358 /src/Soat/SecondOrder/Algebra.idr
parent45e9bbec72bf338306d446012f077e195439aed0 (diff)
refactor : make Signature.T irrelevant.
Diffstat (limited to 'src/Soat/SecondOrder/Algebra.idr')
-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 c506c85..50877e9 100644
--- a/src/Soat/SecondOrder/Algebra.idr
+++ b/src/Soat/SecondOrder/Algebra.idr
@@ -17,7 +17,7 @@ extendRel : {U : a -> List a -> Type} -> (rel : IRel (uncurry U))
-> (ctx : List a) -> IRel (extend U ctx)
extendRel rel ctx ty = rel (snd ty, fst ty ++ ctx)
-public export
+public export 0
algebraOver : (sig : Signature) -> (U : sig.T -> List sig.T -> Type) -> Type
algebraOver sig x = (ctx : List sig.T) -> {t : sig.T} -> (op : Op sig t)
-> extend x ctx ^ op.arity -> x t ctx