unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Codebase.BranchDiff

Documentation

data DiffType a Source #

Constructors

Create a 
Delete a 
Modify a 

Instances

Instances details
Show a => Show (DiffType a) Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

Methods

showsPrec :: Int -> DiffType a -> ShowS #

show :: DiffType a -> String #

showList :: [DiffType a] -> ShowS #

data DiffSlice r Source #

Instances

Instances details
Generic (DiffSlice r) Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

Associated Types

type Rep (DiffSlice r) :: Type -> Type #

Methods

from :: DiffSlice r -> Rep (DiffSlice r) x #

to :: Rep (DiffSlice r) x -> DiffSlice r #

Show r => Show (DiffSlice r) Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

type Rep (DiffSlice r) Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

type Rep (DiffSlice r) = D1 ('MetaData "DiffSlice" "Unison.Codebase.BranchDiff" "unison-parser-typechecker-0.0.0-KNkVGbTXlis2lnVjsRIJUx" 'False) (C1 ('MetaCons "DiffSlice" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tallnamespaceUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Name (Set r, Set r))) :*: S1 ('MetaSel ('Just "talladds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Relation r Name))) :*: (S1 ('MetaSel ('Just "tallremoves") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Relation r Name)) :*: S1 ('MetaSel ('Just "trenames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map r (Set Name, Set Name))))))

data BranchDiff Source #

Instances

Instances details
Generic BranchDiff Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

Associated Types

type Rep BranchDiff :: Type -> Type #

Show BranchDiff Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

type Rep BranchDiff Source # 
Instance details

Defined in Unison.Codebase.BranchDiff

type Rep BranchDiff = D1 ('MetaData "BranchDiff" "Unison.Codebase.BranchDiff" "unison-parser-typechecker-0.0.0-KNkVGbTXlis2lnVjsRIJUx" 'False) (C1 ('MetaCons "BranchDiff" 'PrefixI 'True) (S1 ('MetaSel ('Just "termsDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DiffSlice Referent)) :*: (S1 ('MetaSel ('Just "typesDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DiffSlice Reference)) :*: S1 ('MetaSel ('Just "patchesDiff") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map Name (DiffType PatchDiff))))))

diff0 :: forall m. Monad m => Branch0 m -> Branch0 m -> m BranchDiff Source #

patchDiff :: forall m. Monad m => Branch0 m -> Branch0 m -> m (Map Name (DiffType PatchDiff)) Source #