| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Sound.Sc3.Ugen.Constant
Description
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 emptyBracketsTrue
>>>Constant 3 emptyBrackets > Constant 1 emptyBracketsTrue
Constructors
| Constant | |
| Fields | |
fractionPart :: Double -> Double Source #
Get fractional part of a double.
constantIsInteger :: Constant -> Bool Source #
Is integer?
>>>constantIsInteger (Constant 1 emptyBrackets)True