seminal-haskell-0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Seminal

Description

Entrypoint to Seminal

Synopsis

Documentation

runSeminal :: Options -> [FilePath] -> IO Status Source #

Run Seminal on a source file. If it returns Nothing, the file typechecks, otherwise, provides an ordered list of change suggestions

data Status Source #

Constructors

Success

When the file typechecks without any changes

Error ErrorMessage

When an error occurs during the GHC session, unrelated to typechecking

Result (Int, [(FilePath, ErrorMessage, [Change HsModule])])

For each file that does not typecheck, an ordered list of change suggestions, Along with the original typecheck error