yi-0.7.2: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.Main

Contents

Description

This is the main module of Yi, called with configuration from the user. Here we mainly process command line arguments.

Synopsis

Static main

main :: (Config, ConsoleConfig) -> Maybe Editor -> IO ()Source

Static main. This is the front end to the statically linked application, and the real front end, in a sense. dynamic_main calls this after setting preferences passed from the boot loader.

Command line processing

do_args :: Config -> [String] -> Either Err (Config, ConsoleConfig)Source

Transform the config with options

data ConsoleConfig Source

Configuration information which can be set in the command-line, but not in the user's configuration file.

Constructors

ConsoleConfig 

Fields

ghcOptions :: [String]
 
selfCheck :: Bool
 

data Err Source

Constructors

Err String ExitCode 

Instances