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

Unclear types for conflicts and dependencies #59

Open
ggazzi opened this issue Jul 26, 2017 · 0 comments
Open

Unclear types for conflicts and dependencies #59

ggazzi opened this issue Jul 26, 2017 · 0 comments

Comments

@ggazzi
Copy link
Member

ggazzi commented Jul 26, 2017

The types that characterize conflicts and dependencies are somewhat hard to understand. In particular, the type CriticalPair has some fields of type Maybe, but whose existence is related to the value of another field, of type CriticalPairType. This should be refactored into a sum type, such that pattern matching gives you only the fields that exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant