Safe Haskell | Safe-Infered |
---|
- class Instrument a where
- iDate :: a -> LocalTime
- iIsExpired :: a -> Bool
- data CompositeInstrument = forall a . (Instrument a, Priceable a) => CompositeInstrument (Map a Double)
- data Stock = Stock {}
Documentation
class Instrument a whereSource
Instrument type class
data CompositeInstrument Source
Composite instrument is an aggregate of other instruments.
forall a . (Instrument a, Priceable a) => CompositeInstrument (Map a Double) |