data-default-0.6.0: A class for types with a default value
Data.Default
Synopsis
This module defines a class for types with a default value. Instances are provided for '()', Set, Map, Int, Integer, Float, Double, and many others (see below).
Set
Map
Int
Integer
Float
Double
class Default a where
A class for types with a default value.
Methods
def :: a
The default value for this type.