unison-core1-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.NamesWithHistory

Synopsis

Documentation

lookupHQType :: SearchType -> HashQualified Name -> Names -> Set TypeReference Source #

Find all types whose name has a suffix matching the provided HashQualified.

lookupHQType' :: SearchType -> HashQualified Name -> Names -> Set TypeReference Source #

Find all types whose name has a suffix matching the provided HashQualified'. See lookupHQType.

lookupHQTerm :: SearchType -> HashQualified Name -> Names -> Set Referent Source #

Find all terms whose name has a suffix matching the provided HashQualified.

lookupHQTerm' :: SearchType -> HashQualified Name -> Names -> Set Referent Source #

Find all terms whose name has a suffix matching the provided HashQualified'. See lookupHQTerm.

data Diff Source #

Constructors

Diff 

Instances

Instances details
Show Diff Source # 
Instance details

Defined in Unison.NamesWithHistory

Methods

showsPrec :: Int -> Diff -> ShowS #

show :: Diff -> String #

showList :: [Diff] -> ShowS #

data SearchType Source #

Whether to search for exact matches or to find definitions by a suffix of their name.

Constructors

IncludeSuffixes 
ExactName