ddc-driver-0.4.2.2: Disciplined Disciple Compiler top-level driver.

Safe HaskellNone
LanguageHaskell98

DDC.Driver.Command.Read

Synopsis

Documentation

cmdReadModule Source

Arguments

:: (Ord n, Show n, Pretty n, Pretty (err (AnTEC SourcePos n)), NFData n) 
=> Config

Driver config.

-> Fragment n err

Language fragment.

-> FilePath

Path to the module.

-> IO (Maybe (Module (AnTEC SourcePos n) n)) 

Load and typecheck a module.

cmdReadModule' Source

Arguments

:: (Ord n, Show n, Pretty n, Pretty (err (AnTEC SourcePos n)), NFData n) 
=> Bool

If true, print errors out

-> Config

Driver config

-> Fragment n err

Language fragment.

-> FilePath

Path to the module.

-> IO (Maybe (Module (AnTEC SourcePos n) n))