data-default-0.5.0: A class for types with a default value

Safe HaskellSafe-Infered

Data.Default

Synopsis

Documentation

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).

class Default a whereSource

A class for types with a default value.

Methods

def :: aSource

The default value for this type.