Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Constant
Synopsis
- data Constant = Constant {}
- fractionPart :: Double -> Double
- constantIsInteger :: Constant -> Bool
Documentation
Constants. Constants may have brackets. This allows for buffer allocation and deallocation to be associated with a buffer identifier.
>>>
Constant 3 emptyBrackets == Constant 3 emptyBrackets
True
>>>
Constant 3 emptyBrackets > Constant 1 emptyBrackets
True
fractionPart :: Double -> Double Source #
Get fractional part of a double.
constantIsInteger :: Constant -> Bool Source #
Is integer?
>>>
constantIsInteger (Constant 1 emptyBrackets)
True