summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions/maps.py
blob: aff881f47f5928e841a446d54da83b71364ad0d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()