Skip to content

Make Option covariant#190

Merged
dbrattli merged 10 commits intomainfrom
option-covariance
Sep 17, 2024
Merged

Make Option covariant#190
dbrattli merged 10 commits intomainfrom
option-covariance

Conversation

@dbrattli
Copy link
Owner

@dbrattli dbrattli commented Jan 15, 2024

Trying to make Option covariant. This type checks, but there could be false negatives since you can never really trust type checkers in Python.

Fixes #171, #221

@dbrattli dbrattli merged commit 06e6f15 into main Sep 17, 2024
@dbrattli dbrattli deleted the option-covariance branch September 17, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_TSource in Option should be covariant

1 participant