Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Input
- = ForkLocalBranchI (Either ShortCausalHash BranchRelativePath) BranchRelativePath
- | MergeLocalBranchI BranchRelativePath (Maybe BranchRelativePath) MergeMode
- | PreviewMergeLocalBranchI BranchRelativePath (Maybe BranchRelativePath)
- | DiffNamespaceI BranchId2 BranchId2
- | PullI !PullSourceTarget !PullMode
- | PushRemoteBranchI PushRemoteBranchInput
- | ResetI BranchId2 (Maybe UnresolvedProjectBranch)
- | CreateMessage (Pretty ColorText)
- | SwitchBranchI Path'
- | UpI
- | PopBranchI
- | NamesI IsGlobal (HashQualified Name)
- | AliasTermI !Bool HashOrHQSplit' Split'
- | AliasTypeI !Bool HashOrHQSplit' Split'
- | AliasManyI [HQSplit] Path'
- | MoveAllI Path' Path'
- | MoveTermI HQSplit' Split'
- | MoveTypeI HQSplit' Split'
- | MoveBranchI Path' Path'
- | DeleteI DeleteTarget
- | LoadI (Maybe FilePath)
- | ClearI
- | AddI (Set Name)
- | PreviewAddI (Set Name)
- | UpdateI OptionalPatch (Set Name)
- | Update2I
- | PreviewUpdateI (Set Name)
- | TodoI
- | UndoI
- | HistoryI (Maybe Int) (Maybe Int) BranchId
- | ExecuteI (HashQualified Name) [String]
- | SaveExecuteResultI Name
- | IOTestI Bool (HashQualified Name)
- | IOTestAllI Bool
- | MakeStandaloneI String (HashQualified Name)
- | ExecuteSchemeI (HashQualified Name) [String]
- | CompileSchemeI Bool Text (HashQualified Name)
- | TestI Bool TestInput
- | CreateAuthorI NameSegment Text
- | DisplayI OutputLocation (NonEmpty (HashQualified Name))
- | DocsI (NonEmpty Name)
- | FindI Bool FindScope [String]
- | FindShallowI Path'
- | StructuredFindI FindScope (HashQualified Name)
- | StructuredFindReplaceI (HashQualified Name)
- | TextFindI Bool [String]
- | ShowDefinitionI OutputLocation ShowDefinitionScope (NonEmpty (HashQualified Name))
- | ShowRootReflogI
- | ShowGlobalReflogI
- | ShowProjectReflogI (Maybe ProjectName)
- | ShowProjectBranchReflogI (Maybe (ProjectAndBranch (Maybe ProjectName) ProjectBranchName))
- | UpdateBuiltinsI
- | MergeBuiltinsI (Maybe Path)
- | MergeIOBuiltinsI (Maybe Path)
- | ListDependenciesI (HashQualified Name)
- | ListDependentsI (HashQualified Name)
- | NamespaceDependenciesI (Maybe Path')
- | DebugTabCompletionI [String]
- | DebugLSPNameCompletionI Text
- | DebugFuzzyOptionsI String [String]
- | DebugFormatI
- | DebugNumberedArgsI
- | DebugTypecheckedUnisonFileI
- | DebugDumpNamespacesI
- | DebugDumpNamespaceSimpleI
- | DebugTermI Bool (HashQualified Name)
- | DebugTypeI (HashQualified Name)
- | DebugLSPFoldRangesI
- | DebugClearWatchI
- | DebugDoctorI
- | DebugNameDiffI ShortCausalHash ShortCausalHash
- | QuitI
- | ApiI
- | UiI Path'
- | DocToMarkdownI Name
- | DocsToHtmlI BranchRelativePath FilePath
- | AuthLoginI
- | VersionI
- | ProjectCreateI Bool (Maybe ProjectName)
- | ProjectRenameI ProjectName
- | ProjectSwitchI ProjectAndBranchNames
- | ProjectsI
- | BranchI BranchSourceI (ProjectAndBranch (Maybe ProjectName) ProjectBranchName)
- | BranchRenameI ProjectBranchName
- | BranchesI (Maybe ProjectName)
- | CloneI ProjectAndBranchNames (Maybe ProjectAndBranchNames)
- | ReleaseDraftI Semver
- | UpgradeI !NameSegment !NameSegment
- | EditNamespaceI [Path]
- | MergeI (ProjectAndBranch (Maybe ProjectName) ProjectBranchName)
- | LibInstallI !Bool !(ProjectAndBranch ProjectName (Maybe ProjectBranchNameOrLatestRelease))
- | UpgradeCommitI
- | MergeCommitI
- | DebugSynhashTermI !Name
- | EditDependentsI !(HashQualified Name)
- data BranchSourceI
- data PullSourceTarget
- data PushRemoteBranchInput = PushRemoteBranchInput {}
- data PushSourceTarget
- data PushSource = ProjySource (These ProjectName ProjectBranchName)
- data TestInput = TestInput {
- includeLibNamespace :: Bool
- path :: Path
- showFailures :: Bool
- showSuccesses :: Bool
- data Event = UnisonFileChanged SourceName Source
- data OutputLocation
- data RelativeToFold
- type PatchPath = Split'
- data BranchIdG p
- type BranchId = BranchIdG Path'
- type BranchId2 = Either ShortCausalHash BranchRelativePath
- type AbsBranchId = BranchIdG Absolute
- type UnresolvedProjectBranch = ProjectAndBranch (Maybe ProjectName) ProjectBranchName
- parseBranchId :: String -> Either Text BranchId
- parseBranchId2 :: String -> Either (Pretty ColorText) (Either ShortCausalHash BranchRelativePath)
- parseShortCausalHash :: String -> Either String ShortCausalHash
- type HashOrHQSplit' = Either ShortHash HQSplit'
- data Insistence
- data PullMode
- data OptionalPatch
- data FindScope
- data ShowDefinitionScope
- type IsGlobal = Bool
- data DeleteOutput
- data DeleteTarget
- = DeleteTarget'TermOrType DeleteOutput [HQSplit']
- | DeleteTarget'Term DeleteOutput [HQSplit']
- | DeleteTarget'Type DeleteOutput [HQSplit']
- | DeleteTarget'Namespace Insistence (Maybe Split)
- | DeleteTarget'ProjectBranch (ProjectAndBranch (Maybe ProjectName) ProjectBranchName)
- | DeleteTarget'Project ProjectName
Documentation
data BranchSourceI Source #
The source of a branch
command: what to make the new branch from.
BranchSourceI'CurrentContext | Create a branch from the current context |
BranchSourceI'Empty | Create an empty branch |
BranchSourceI'UnresolvedProjectBranch UnresolvedProjectBranch | Create a branch from this other branch |
Instances
Show BranchSourceI Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> BranchSourceI -> ShowS # show :: BranchSourceI -> String # showList :: [BranchSourceI] -> ShowS # | |
Eq BranchSourceI Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: BranchSourceI -> BranchSourceI -> Bool # (/=) :: BranchSourceI -> BranchSourceI -> Bool # |
data PullSourceTarget Source #
Pull source and target: either neither is specified, or only a source, or both.
Instances
Show PullSourceTarget Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> PullSourceTarget -> ShowS # show :: PullSourceTarget -> String # showList :: [PullSourceTarget] -> ShowS # | |
Eq PullSourceTarget Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: PullSourceTarget -> PullSourceTarget -> Bool # (/=) :: PullSourceTarget -> PullSourceTarget -> Bool # |
data PushRemoteBranchInput Source #
Instances
Show PushRemoteBranchInput Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> PushRemoteBranchInput -> ShowS # show :: PushRemoteBranchInput -> String # showList :: [PushRemoteBranchInput] -> ShowS # | |
Eq PushRemoteBranchInput Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: PushRemoteBranchInput -> PushRemoteBranchInput -> Bool # (/=) :: PushRemoteBranchInput -> PushRemoteBranchInput -> Bool # |
data PushSourceTarget Source #
Push source and target: either neither is specified, or only a target, or both.
PushSourceTarget0 | |
PushSourceTarget1 (These ProjectName ProjectBranchName) | |
PushSourceTarget2 PushSource (These ProjectName ProjectBranchName) |
Instances
Show PushSourceTarget Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> PushSourceTarget -> ShowS # show :: PushSourceTarget -> String # showList :: [PushSourceTarget] -> ShowS # | |
Eq PushSourceTarget Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: PushSourceTarget -> PushSourceTarget -> Bool # (/=) :: PushSourceTarget -> PushSourceTarget -> Bool # |
data PushSource Source #
Instances
Show PushSource Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> PushSource -> ShowS # show :: PushSource -> String # showList :: [PushSource] -> ShowS # | |
Eq PushSource Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: PushSource -> PushSource -> Bool # (/=) :: PushSource -> PushSource -> Bool # |
TestInput | |
|
UnisonFileChanged SourceName Source |
data OutputLocation Source #
Instances
Show OutputLocation Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> OutputLocation -> ShowS # show :: OutputLocation -> String # showList :: [OutputLocation] -> ShowS # | |
Eq OutputLocation Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: OutputLocation -> OutputLocation -> Bool # (/=) :: OutputLocation -> OutputLocation -> Bool # |
data RelativeToFold Source #
Above a new fold, or within the topmost fold?
Instances
Show RelativeToFold Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> RelativeToFold -> ShowS # show :: RelativeToFold -> String # showList :: [RelativeToFold] -> ShowS # | |
Eq RelativeToFold Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: RelativeToFold -> RelativeToFold -> Bool # (/=) :: RelativeToFold -> RelativeToFold -> Bool # |
Instances
Foldable BranchIdG Source # | |
Defined in Unison.Codebase.Editor.Input fold :: Monoid m => BranchIdG m -> m # foldMap :: Monoid m => (a -> m) -> BranchIdG a -> m # foldMap' :: Monoid m => (a -> m) -> BranchIdG a -> m # foldr :: (a -> b -> b) -> b -> BranchIdG a -> b # foldr' :: (a -> b -> b) -> b -> BranchIdG a -> b # foldl :: (b -> a -> b) -> b -> BranchIdG a -> b # foldl' :: (b -> a -> b) -> b -> BranchIdG a -> b # foldr1 :: (a -> a -> a) -> BranchIdG a -> a # foldl1 :: (a -> a -> a) -> BranchIdG a -> a # toList :: BranchIdG a -> [a] # length :: BranchIdG a -> Int # elem :: Eq a => a -> BranchIdG a -> Bool # maximum :: Ord a => BranchIdG a -> a # minimum :: Ord a => BranchIdG a -> a # | |
Traversable BranchIdG Source # | |
Defined in Unison.Codebase.Editor.Input | |
Functor BranchIdG Source # | |
Show p => Show (BranchIdG p) Source # | |
Eq p => Eq (BranchIdG p) Source # | |
From p Text => From (BranchIdG p) Text Source # | |
Defined in Unison.Codebase.Editor.Input |
type AbsBranchId = BranchIdG Absolute Source #
type UnresolvedProjectBranch = ProjectAndBranch (Maybe ProjectName) ProjectBranchName Source #
An unambiguous project branch name, use the current project name if not provided.
parseBranchId2 :: String -> Either (Pretty ColorText) (Either ShortCausalHash BranchRelativePath) Source #
data Insistence Source #
Should we force the operation or not?
Instances
Show Insistence Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> Insistence -> ShowS # show :: Insistence -> String # showList :: [Insistence] -> ShowS # | |
Eq Insistence Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: Insistence -> Insistence -> Bool # (/=) :: Insistence -> Insistence -> Bool # |
data OptionalPatch Source #
Instances
Show OptionalPatch Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> OptionalPatch -> ShowS # show :: OptionalPatch -> String # showList :: [OptionalPatch] -> ShowS # | |
Eq OptionalPatch Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: OptionalPatch -> OptionalPatch -> Bool # (/=) :: OptionalPatch -> OptionalPatch -> Bool # | |
Ord OptionalPatch Source # | |
Defined in Unison.Codebase.Editor.Input compare :: OptionalPatch -> OptionalPatch -> Ordering # (<) :: OptionalPatch -> OptionalPatch -> Bool # (<=) :: OptionalPatch -> OptionalPatch -> Bool # (>) :: OptionalPatch -> OptionalPatch -> Bool # (>=) :: OptionalPatch -> OptionalPatch -> Bool # max :: OptionalPatch -> OptionalPatch -> OptionalPatch # min :: OptionalPatch -> OptionalPatch -> OptionalPatch # |
data ShowDefinitionScope Source #
Instances
Show ShowDefinitionScope Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> ShowDefinitionScope -> ShowS # show :: ShowDefinitionScope -> String # showList :: [ShowDefinitionScope] -> ShowS # | |
Eq ShowDefinitionScope Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: ShowDefinitionScope -> ShowDefinitionScope -> Bool # (/=) :: ShowDefinitionScope -> ShowDefinitionScope -> Bool # |
data DeleteOutput Source #
Instances
Show DeleteOutput Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> DeleteOutput -> ShowS # show :: DeleteOutput -> String # showList :: [DeleteOutput] -> ShowS # | |
Eq DeleteOutput Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: DeleteOutput -> DeleteOutput -> Bool # (/=) :: DeleteOutput -> DeleteOutput -> Bool # |
data DeleteTarget Source #
Instances
Show DeleteTarget Source # | |
Defined in Unison.Codebase.Editor.Input showsPrec :: Int -> DeleteTarget -> ShowS # show :: DeleteTarget -> String # showList :: [DeleteTarget] -> ShowS # | |
Eq DeleteTarget Source # | |
Defined in Unison.Codebase.Editor.Input (==) :: DeleteTarget -> DeleteTarget -> Bool # (/=) :: DeleteTarget -> DeleteTarget -> Bool # |