summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions/sets.py
blob: 1dc635f4601aac8d89930db5ccbad05c6a1212ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from typing import Callable, TypeVar

import act4e_interfaces as I

X = TypeVar("X")


class SolEnumerableSetsOperations(I.EnumerableSetsOperations):
    def make_set_sequence(self, f: Callable[[int], X]) -> I.EnumerableSet[X]:
        raise NotImplementedError()

    def union_esets(self, a: I.EnumerableSet[X], b: I.EnumerableSet[X]) -> I.EnumerableSet[X]:
        """Creates the union of two EnumerableSet."""
        raise NotImplementedError()