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

Safe HaskellNone
LanguageHaskell98

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.