Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data BranchDiffOutput v a Source #
BranchDiffOutput | |
|
Instances
(Show a, Show v) => Show (BranchDiffOutput v a) Source # | |
Defined in Unison.Codebase.Editor.Output.BranchDiff showsPrec :: Int -> BranchDiffOutput v a -> ShowS # show :: BranchDiffOutput v a -> String # showList :: [BranchDiffOutput v a] -> ShowS # |
isEmpty :: BranchDiffOutput v a -> Bool Source #
data TermDisplay v a Source #
Instances
data TypeDisplay v a Source #
TypeDisplay | |
|
Instances
type AddedTermDisplay v a = ([HashQualified Name], Referent, Maybe (Type v a)) Source #
type AddedTypeDisplay v a = ([HashQualified Name], Reference, Maybe (DeclOrBuiltin v a)) Source #
type RemovedTermDisplay v a = ([HashQualified Name], Referent, Maybe (Type v a)) Source #
type RemovedTypeDisplay v a = ([HashQualified Name], Reference, Maybe (DeclOrBuiltin v a)) Source #
type SimpleTermDisplay v a = (HashQualified Name, Referent, Maybe (Type v a)) Source #
type SimpleTypeDisplay v a = (HashQualified Name, Reference, Maybe (DeclOrBuiltin v a)) Source #
data UpdateTermDisplay v a Source #
UpdateTermDisplay | |
|
Instances
data UpdateTypeDisplay v a Source #
UpdateTypeDisplay | |
|
Instances
type RenameTermDisplay v a = (Referent, Maybe (Type v a), Set (HashQualified Name), Set (HashQualified Name)) Source #
type RenameTypeDisplay v a = (Reference, Maybe (DeclOrBuiltin v a), Set (HashQualified Name), Set (HashQualified Name)) Source #
type PatchDisplay = (Name, PatchDiff) Source #
toOutput :: forall m v a. Monad m => (Referent -> m (Maybe (Type v a))) -> (Reference -> m (Maybe (DeclOrBuiltin v a))) -> Int -> Names -> Names -> BranchDiff -> m (BranchDiffOutput v a) Source #