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

Copyright(c)
LicenseGPL-3
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 :: SessionConfig -> Maybe IdeSession -> IO (IdeSession, [GhcExtension], [FilePath]) Source

Initialize the compilation process.

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

Contains code regarding target files and coming up with the IdeSession update.

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

The final part of the compilation process.