Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support intersections of concrete types #58

Open
antonagestam opened this issue Nov 11, 2020 · 0 comments
Open

Support intersections of concrete types #58

antonagestam opened this issue Nov 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@antonagestam
Copy link
Owner

antonagestam commented Nov 11, 2020

class A(Sequence, Phantom, predicate=contains("a")):
    ...
class B(Iterable, Phantom, predicate=contains("b")):
    ...
class C(A, B):
    ...
  • Bound of C should be (Sequence, Iterable) (intersection).
  • Predicate of C should be bool.both(contains("a"), contains("b"))
@antonagestam antonagestam added the enhancement New feature or request label Nov 11, 2020
@antonagestam antonagestam added this to the 1.0 milestone Jan 8, 2021
@antonagestam antonagestam removed this from the 1.0 milestone Sep 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant