summaryrefslogtreecommitdiff
path: root/src/Data/Morphism/Indexed.idr
diff options
context:
space:
mode:
authorGreg Brown <greg.brown01@ed.ac.uk>2022-12-05 14:37:30 +0000
committerGreg Brown <greg.brown01@ed.ac.uk>2022-12-05 14:37:30 +0000
commite8a5ba7c22c98d32671d02e41960598566bdcc58 (patch)
treec051ae8e9b4bab7002e0de36bf7266442ce2e891 /src/Data/Morphism/Indexed.idr
parent45e9bbec72bf338306d446012f077e195439aed0 (diff)
WIP: port to libraryrefactor/setoids
Diffstat (limited to 'src/Data/Morphism/Indexed.idr')
-rw-r--r--src/Data/Morphism/Indexed.idr13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Data/Morphism/Indexed.idr b/src/Data/Morphism/Indexed.idr
deleted file mode 100644
index c271c90..0000000
--- a/src/Data/Morphism/Indexed.idr
+++ /dev/null
@@ -1,13 +0,0 @@
-module Data.Morphism.Indexed
-
-import Data.Setoid.Indexed
-
-public export
-IFunc : {a : Type} -> (x, y : a -> Type) -> Type
-IFunc {a} x y = (i : a) -> x i -> y i
-
-public export
-record IFunction {a : Type} (x, y : ISetoid a) where
- constructor MkIFunction
- func : IFunc x.U y.U
- cong : (i : a) -> {u, v : x.U i} -> x.relation i u v -> y.relation i (func i u) (func i v)