Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data ResolutionError ref
- data ResolutionFailure annotation
- = TypeResolutionFailure (HashQualified Name) annotation (ResolutionError TypeReference)
- | TermResolutionFailure (HashQualified Name) annotation (ResolutionError Referent)
- type ResolutionResult a r = Either (Seq (ResolutionFailure a)) r
- getAnnotation :: ResolutionFailure a -> a
Documentation
data ResolutionError ref Source #
Instances
Show ref => Show (ResolutionError ref) Source # | |
Defined in Unison.Names.ResolutionResult showsPrec :: Int -> ResolutionError ref -> ShowS # show :: ResolutionError ref -> String # showList :: [ResolutionError ref] -> ShowS # | |
Eq ref => Eq (ResolutionError ref) Source # | |
Defined in Unison.Names.ResolutionResult (==) :: ResolutionError ref -> ResolutionError ref -> Bool # (/=) :: ResolutionError ref -> ResolutionError ref -> Bool # | |
Ord ref => Ord (ResolutionError ref) Source # | |
Defined in Unison.Names.ResolutionResult compare :: ResolutionError ref -> ResolutionError ref -> Ordering # (<) :: ResolutionError ref -> ResolutionError ref -> Bool # (<=) :: ResolutionError ref -> ResolutionError ref -> Bool # (>) :: ResolutionError ref -> ResolutionError ref -> Bool # (>=) :: ResolutionError ref -> ResolutionError ref -> Bool # max :: ResolutionError ref -> ResolutionError ref -> ResolutionError ref # min :: ResolutionError ref -> ResolutionError ref -> ResolutionError ref # |
data ResolutionFailure annotation Source #
ResolutionFailure represents the failure to resolve a given name.
TypeResolutionFailure (HashQualified Name) annotation (ResolutionError TypeReference) | |
TermResolutionFailure (HashQualified Name) annotation (ResolutionError Referent) |
Instances
type ResolutionResult a r = Either (Seq (ResolutionFailure a)) r Source #
getAnnotation :: ResolutionFailure a -> a Source #