yi-mode-haskell-0.14.0: Yi editor haskell mode

LicenseGPL-2
Maintaineryi-devel@googlegroups.com
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010
Extensions
  • OverloadedStrings
  • DeriveDataTypeable
  • GeneralizedNewtypeDeriving

Yi.Mode.Haskell

Contents

Description

Collection of Modes for working with Haskell.

Synopsis

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.

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