Safe Haskell | None |
---|---|
Language | Haskell98 |
- arithmeticConversion :: TypeName -> TypeName -> Maybe TypeName
- floatConversion :: FloatType -> FloatType -> FloatType
- intConversion :: IntType -> IntType -> IntType
Documentation
arithmeticConversion :: TypeName -> TypeName -> Maybe TypeName Source
For an arithmetic operator, if the arguments are of the given types, return the type of the full expression.
floatConversion :: FloatType -> FloatType -> FloatType Source
intConversion :: IntType -> IntType -> IntType Source