wai-devel-0.0.0.3: A web server for the development of WAI compliant web applications.

Copyright(c) 2015 Njagi Mwaniki
LicenseMIT
Maintainernjagi@urbanslug.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Devel.Compile

Description

Compile compiles the app to give: Either a list of source errors or an ide-backend session.

Synopsis

Documentation

initCompile :: [String] -> SessionConfig -> Maybe IdeSession -> IO (IdeSession, [GhcExtension], [FilePath], [FilePath]) Source

Initialize the compilation process.

compile :: IdeSession -> FilePath -> [GhcExtension] -> [FilePath] -> IO (IdeSession, IdeSessionUpdate) Source

Determining the target files and creating the session update.

finishCompile :: (IdeSession, IdeSessionUpdate) -> IORef [String] -> IO (Either [SourceError'] IdeSession) Source

Finalising compilation process.