summaryrefslogtreecommitdiffstats
path: root/src/act4e_solutions/sets.py
blob: 7cb425261f61f8062997a16b5261f62a23034f51 (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 MyEnumerableSetsOperations(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()