|
|
|
Description |
Defines the mapping between haskell types and a set of optimization
parameters used to represent said type.
|
|
|
Documentation |
|
smallDouble :: Double |
|
data ParamInfo |
Constructors | ParamInfo | | limitLow :: !Double | | limitHigh :: !Double | | isIntegral :: !Bool | |
|
|
|
|
data Limit a |
Constructors | Limit | | minLimit :: (Maybe a) | | maxLimit :: (Maybe a) | |
|
| Instances | |
|
|
limitPositive :: Num a => Limit a |
|
limitNegative :: Num a => Limit a |
|
limitUnit :: Num a => Limit a |
|
class Empty a where |
| Methods | | | Instances | |
|
|
class Empty z => Parameter z x | x -> z where |
| Methods | pokeParam :: z -> x -> Ptr Double -> IO () | | peekParam :: z -> Ptr Double -> IO x | | paramInfo :: x -> z -> [ParamInfo] -> [ParamInfo] | | numParams :: x -> z -> Int |
| | Instances | Parameter () Bool | Parameter () Char | Parameter () () | (Parameter za a, Parameter zb b) => Parameter (za, zb) (a, b) | (Parameter za a, Parameter zb b, Parameter zc c) => Parameter (za, zb, zc) (a, b, c) | Parameter zb b => Parameter zb (Maybe b) | (Parameter za a, Parameter zb b) => Parameter (za, zb) (Either a b) | Parameter (Limit Double) Double | Parameter (Limit Float) Float | Parameter (Limit Int) Int |
|
|
|
Produced by Haddock version 0.8 |