libcspm-1.0.0: A library providing a parser, type checker and evaluator for CSPM.

Safe HaskellNone

CSPM.TypeChecker.Environment

Synopsis

Documentation

mkSymbolInformation :: TypeScheme -> SymbolInformationSource

Make symbol information for the type assuming that the symbol is not deprecated and its type is not unsafe.

data SymbolInformation Source

Used to represent information about a symbol

Constructors

SymbolInformation 

Fields

typeScheme :: TypeScheme

The type of the symbol

isDeprecated :: Bool

Is this symbol deprecated

deprecationReplacement :: Maybe Name
 
isTypeUnsafe :: Bool

Is this symbols' type too general (if so use of it will emit a soundness warning)