Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Provide a way to access Compiler/Typechecker as a black box, | according to Seminal's algorithm
Synopsis
Documentation
data TypeCheckStatus Source #
Defines the possible outcomes of the typechecking process of the compiler
Instances
Show TypeCheckStatus Source # | |
Defined in Seminal.Compiler.TypeChecker showsPrec :: Int -> TypeCheckStatus -> ShowS # show :: TypeCheckStatus -> String # showList :: [TypeCheckStatus] -> ShowS # | |
Eq TypeCheckStatus Source # | |
Defined in Seminal.Compiler.TypeChecker (==) :: TypeCheckStatus -> TypeCheckStatus -> Bool # (/=) :: TypeCheckStatus -> TypeCheckStatus -> Bool # |
TypeCheckError String | Indicates an error occured while typechecking |
ScopeError String | A type or variable could not be resolved | It comes with the compiler's error message |
isScopeError :: ErrorType -> Bool Source #
isTypecheckError :: ErrorType -> Bool Source #
typecheckModule :: ParsedModule -> Ghc TypeCheckStatus Source #
Typecheck Module