Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Analyzer.AnalyzedType
Description
Types representation during the analysis process.
Synopsis
- data Type
- data FunctionType = FunctionType {
- parameters :: [Type]
- returnType :: MaybeVoid Type
Documentation
Type representation during the analysis process.
Constructors
TInt | 32-bit/64-bit (depending on the machine) integer type. |
TBool | Boolean type. |
TString | String type. |
TArray Type Int | Array type, it contains the length of the array and its elements type. |
TFunction FunctionType | Function type, see |
TNil | Null type. |
data FunctionType Source #
Function type,
it contains the result of the function (which can be void
if the result is equal to Nothing
)
and its parameters types.
Constructors
FunctionType | |
Fields
|
Instances
Show FunctionType Source # | |
Defined in Analyzer.AnalyzedType Methods showsPrec :: Int -> FunctionType -> ShowS # show :: FunctionType -> String # showList :: [FunctionType] -> ShowS # | |
Eq FunctionType Source # | |
Defined in Analyzer.AnalyzedType |