Portability | portable |
---|---|
Stability | experimental |
Maintainer | yi-devel@googlegroups.com |
Safe Haskell | None |
A mode for GHCi, implemented as tweaks on Interaction mode
- data GhciProcessName = GhciProcessName {
- _ghciProcessName :: FilePath
- _ghciProcessArgs :: [String]
- ghciProcessName :: Lens' GhciProcessName FilePath
- ghciProcessArgs :: Lens' GhciProcessName [String]
- mode :: Mode (Tree (Tok Token))
- homeKey :: BufferM ()
- spawnProcess :: FilePath -> [String] -> YiM BufferRef
Documentation
data GhciProcessName Source
The process name to use to spawn GHCi.
GhciProcessName | |
|
Show GhciProcessName | |
Typeable GhciProcessName | |
Default GhciProcessName | The process name defaults to |
Binary GhciProcessName | |
YiVariable GhciProcessName | Setting this is a bit like '(setq haskell-program-name foo)' in
emacs' |
ghciProcessName :: Lens' GhciProcessName FilePathSource
ghciProcessArgs :: Lens' GhciProcessName [String]Source
The GHCi prompt always begins with >; this goes to just before it, or if one is already at the start of the prompt, goes to the beginning of the line. (If at the beginning of the line, this pushes you forward to it.)
:: FilePath | Command to use. |
-> [String] | Process args. |
-> YiM BufferRef | Reference to the spawned buffer. |
Spawns an interactive process (Yi.Mode.Interactive) with GHCi
mode
over it.