yi-0.8.1: The Haskell-Scriptable Editor

Safe HaskellNone
LanguageHaskell2010

Yi.Mode.Haskell

Contents

Description

Haskell-specific modes and commands.

Synopsis

Modes

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.

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