- class Instrument a where
- iNPV :: a -> Double
- iErrorEstimate :: a -> Double
- iDate :: a -> LocalTime
- iIsExpired :: a -> Bool
- data Instrument a => CompositeInstrument a = CompositeInstrument (Map a Double)
- data Stock = Stock {}
Documentation
class Instrument a whereSource
Instrument type class
iErrorEstimate :: a -> DoubleSource
iIsExpired :: a -> BoolSource
data Instrument a => CompositeInstrument a Source
Composite instrument is an aggregate of other instruments.
(Show a, Instrument a) => Show (CompositeInstrument a) | |
Instrument a => Instrument (CompositeInstrument a) |