verigraph icon indicating copy to clipboard operation
verigraph copied to clipboard

Unclear types for conflicts and dependencies

Open ggazzi opened this issue 7 years ago • 0 comments

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.

ggazzi avatar Jul 26 '17 19:07 ggazzi