AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- A simple interface which data-types with a default-value can implement.
- class Defaultable a where
- defaultValue :: a
Type-classes
class Defaultable a whereSource
:: a | The default value of the data-type. |
AUTHOR
DESCRIPTION
class Defaultable a whereSource
:: a | The default value of the data-type. |