summaryrefslogtreecommitdiff
path: root/src/Data/Morphism
diff options
context:
space:
mode:
authorGreg Brown <greg.brown01@ed.ac.uk>2022-12-06 13:22:10 +0000
committerGreg Brown <greg.brown01@ed.ac.uk>2022-12-06 13:22:10 +0000
commit522eb40ab39800f75daa704ae56c18953c4885e7 (patch)
treed138f2a66dd1c5021503d7ac17d3a871a3d4a948 /src/Data/Morphism
parentea2bf19e41aa0f9b4133ea20cd04e5fb3fd002eb (diff)
Migrate to use idris-setoid library.
Diffstat (limited to 'src/Data/Morphism')
-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)