Safe Haskell | None |
---|---|
Language | Haskell98 |
Two (filter) heuristics that prevent an application or a negation to be reported as incorrect if only the result type is reponsible for non-unifiability.
Documentation
class MaybeApplication a where Source
maybeNumberOfArguments :: a -> Maybe Int Source
maybeApplicationEdge :: a -> Maybe (Bool, [(UHA_Source, Tp)]) Source
avoidApplicationConstraints :: (HasTwoTypes info, MaybeApplication info) => Heuristic info Source
class MaybeNegation a where Source
maybeNegation :: a -> Maybe Bool Source
avoidNegationConstraints :: (HasTwoTypes info, MaybeNegation info) => Heuristic info Source