Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- class Instrument a where
- data CompositeInstrument = (Instrument a, Priceable a) => CompositeInstrument (Map a Double)
- data Stock = Stock {}
Documentation
class Instrument a where Source #
Instrument type class
data CompositeInstrument Source #
Composite instrument is an aggregate of other instruments.
(Instrument a, Priceable a) => CompositeInstrument (Map a Double) |