summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions/maps.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/act4e_solutions/maps.py')
-rw-r--r--src/act4e_solutions/maps.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/act4e_solutions/maps.py b/src/act4e_solutions/maps.py
new file mode 100644
index 0000000..aff881f
--- /dev/null
+++ b/src/act4e_solutions/maps.py
@@ -0,0 +1,16 @@
+from typing import TypeVar
+
+import act4e_interfaces as I
+
+A = TypeVar("A")
+B = TypeVar("B")
+C = TypeVar("C")
+
+
+class SolFiniteMapOperations(I.FiniteMapOperations):
+
+ def identity(self, s: I.Setoid[A]) -> I.Mapping[A, A]:
+ raise NotImplementedError()
+
+ def compose(self, f: I.FiniteMap[A, B], g: I.FiniteMap[B, C]) -> I.FiniteMap[A, C]:
+ raise NotImplementedError()