Module Daml.Finance.Interface.Lifecycle.Observable.NumericObservable¶
This module defines an interface for a NumericObservable
, which is used to inspect
time-dependent numerical values.
Interfaces¶
interface NumericObservable
An interface to inspect some (time-dependent) numerical values (e.g. a stock price or an interest rate fixing) required when processing a lifecycle rule.
Typeclasses¶
class Implementation t => HasImplementation t where
Data Types¶
- type I
-
Type synonym for
Observable
.instance HasMethod Observation "asNumericObservable" I
- type Implementation t
= HasToInterface t I
Type constraint for requiring templates to implement
NumericObservable
.
- type V
= View
Type synonym for
View
.instance HasFromAnyView NumericObservable V
data View