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

Safe HaskellSafe-Inferred

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 where

A class for types with a default value.

Methods

def :: a

The default value for this type.

Instances