Safe Haskell | None |
---|
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 whereSource
maybeNumberOfArguments :: a -> Maybe IntSource
maybeApplicationEdge :: a -> Maybe (Bool, [(UHA_Source, Tp)])Source
avoidApplicationConstraints :: (HasTwoTypes info, MaybeApplication info) => Heuristic infoSource
avoidNegationConstraints :: (HasTwoTypes info, MaybeNegation info) => Heuristic infoSource