License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Various high-level functions to further classify.
- changeBufferNameE :: YiM ()
- shellCommandE :: YiM ()
- shellCommandV :: Text -> YiM ()
- newtype CabalBuffer = CabalBuffer {}
- cabalConfigureE :: CommandArguments -> YiM ()
- configureExit :: Either SomeException ExitCode -> YiM ()
- reloadProjectE :: String -> YiM ()
- buildRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- interactiveRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- selectRunner :: Text -> Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM ()
- makeBuild :: CommandArguments -> YiM ()
- cabalRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
- makeRun :: (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
- cabalBuildE :: CommandArguments -> YiM ()
- makeBuildE :: CommandArguments -> YiM ()
- shell :: YiM BufferRef
- searchSources :: (String ::: RegexTag) -> YiM ()
- grepFind :: (String ::: FilePatternTag) -> (String ::: RegexTag) -> YiM ()
- stackCommandE :: Text -> CommandArguments -> YiM ()
- stackRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM ()
Documentation
changeBufferNameE :: YiM () Source #
Changing the buffer name quite useful if you have several the same. This also breaks the relation with the file.
shellCommandE :: YiM () Source #
shell-command with argument prompt
shellCommandV :: Text -> YiM () Source #
shell-command with a known argument
newtype CabalBuffer Source #
cabalConfigureE :: CommandArguments -> YiM () Source #
cabal-configure
configureExit :: Either SomeException ExitCode -> YiM () Source #
reloadProjectE :: String -> YiM () Source #
buildRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Run the given commands with args and pipe the ouput into the build buffer, which is shown in an other window.
interactiveRun :: Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Run the given command with args in interactive mode.
selectRunner :: Text -> Text -> [Text] -> (Either SomeException ExitCode -> YiM x) -> YiM () Source #
Select buildRun
or interactiveRun
based on stack or cabal command name
makeBuild :: CommandArguments -> YiM () Source #
cabalRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #
makeRun :: (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #
cabalBuildE :: CommandArguments -> YiM () Source #
cabal-build
makeBuildE :: CommandArguments -> YiM () Source #
grepFind :: (String ::: FilePatternTag) -> (String ::: RegexTag) -> YiM () Source #
Perform a find+grep operation
stackCommandE :: Text -> CommandArguments -> YiM () Source #
stack-build
stackRun :: Text -> (Either SomeException ExitCode -> YiM x) -> CommandArguments -> YiM () Source #