License | GPL-2 |
---|---|
Maintainer | yi-devel@googlegroups.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Yi.Mode.GHCi
Description
A mode for GHCi, implemented as tweaks on Interaction mode
- data GhciProcessName = GhciProcessName {}
- 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.
Constructors
GhciProcessName | |
Fields
|
Instances
Show GhciProcessName Source # | |
Generic GhciProcessName Source # | |
Binary GhciProcessName Source # | |
YiVariable GhciProcessName Source # | Setting this is a bit like '(setq haskell-program-name foo)' in
emacs' |
Default GhciProcessName Source # | The process name defaults to |
type Rep GhciProcessName Source # | |
ghciProcessName :: Lens' GhciProcessName FilePath Source #
ghciProcessArgs :: Lens' GhciProcessName [String] Source #
homeKey :: BufferM () 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.)