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

Safe HaskellNone

DDC.Driver.Command.Read

Synopsis

Documentation

cmdReadModuleSource

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))