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

Incomplete support for graded monad in expected #98

Open
Bronek opened this issue Oct 16, 2024 · 0 comments
Open

Incomplete support for graded monad in expected #98

Bronek opened this issue Oct 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Bronek
Copy link
Collaborator

Bronek commented Oct 16, 2024

Currently expected only supports type-calculation of the graded monad only if either side of the expected (that is value or error) agrees with the fixed type. This is not correct; graded monad support needs to work also if both types do not match, as long as they are the sum-of-types kind of type.

@Bronek Bronek added the bug Something isn't working label Oct 16, 2024
@Bronek Bronek mentioned this issue Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant