yi-mode-haskell-0.19.1: Yi editor haskell mode

License | GPL-2
Maintainer | yi-devel@googlegroups.com
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010

Extensions

- OverloadedStrings
- DeriveDataTypeable
- GeneralizedNewtypeDeriving

Yi.Mode.Haskell

Contents

- Modes
- IO-level operations

Description

Collection of `Mode`s for working with Haskell.

Synopsis

- haskellAbstract :: Mode (tree TT)
- cleverMode :: Mode (Tree (Tok Token))
- preciseMode :: Mode (Tree TT)
- literateMode :: Mode (Tree TT)
- fastMode :: Mode (Tree TT)
- ghciGet :: YiM BufferRef
- ghciSend :: String -> YiM ()
- ghciLoadBuffer :: YiM ()
- ghciInferType :: YiM ()
- ghciSetProcessName :: YiM ()
- ghciSetProcessArgs :: YiM ()

# Modes

haskellAbstract :: Mode (tree TT) Source #

General ‘template’ for actual Haskell modes.

It applies over `extensions = ["hs", "x", "hsc", "hsinc"]` which may be a little questionable but for now Yi is mostly used by Haskell hackers so it should be fine, at least for now.

cleverMode :: Mode (Tree (Tok Token)) Source #

Clever haskell mode, using the paren-matching syntax.

preciseMode :: Mode (Tree TT) Source #

Experimental Haskell mode, using a rather precise parser for the syntax.

literateMode :: Mode (Tree TT) Source #

fastMode :: Mode (Tree TT) Source #

# IO-level operations

ghciGet :: YiM BufferRef Source #

Return GHCi's buffer; create it if necessary. Show it in another window.

ghciSend :: String -> YiM () Source #

Send a command to GHCi

ghciLoadBuffer :: YiM () Source #

Load current buffer in GHCi

ghciInferType :: YiM () Source #

ghciSetProcessName :: YiM () Source #

ghciSetProcessArgs :: YiM () Source #