data-default-0.7.1.1: A class for types with a default value
Safe Haskell Safe-Inferred
Language Haskell98

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 Source #

A class for types with a default value.

Minimal complete definition

Nothing

Methods

def :: a Source #

The default value for this type.

Instances

Instances details
Default Double
Instance details

Defined in Data.Default.Class

Default Float
Instance details

Defined in Data.Default.Class

Default Int
Instance details

Defined in Data.Default.Class

Default Int8
Instance details

Defined in Data.Default.Class

Default Int16
Instance details

Defined in Data.Default.Class

Default Int32
Instance details

Defined in Data.Default.Class

Default Int64
Instance details

Defined in Data.Default.Class

Default Integer
Instance details

Defined in Data.Default.Class

Default Ordering
Instance details

Defined in Data.Default.Class

Default Word
Instance details

Defined in Data.Default.Class

Default Word8
Instance details

Defined in Data.Default.Class

Default Word16
Instance details

Defined in Data.Default.Class

Default Word32
Instance details

Defined in Data.Default.Class

Default Word64
Instance details

Defined in Data.Default.Class

Default ()
Instance details

Defined in Data.Default.Class

Methods

def :: () Source #

Default All
Instance details

Defined in Data.Default.Class

Default Any
Instance details

Defined in Data.Default.Class

Default CShort
Instance details

Defined in Data.Default.Class

Default CUShort
Instance details

Defined in Data.Default.Class

Default CInt
Instance details

Defined in Data.Default.Class

Default CUInt
Instance details

Defined in Data.Default.Class

Default CLong
Instance details

Defined in Data.Default.Class

Default CULong
Instance details

Defined in Data.Default.Class

Default CLLong
Instance details

Defined in Data.Default.Class

Default CULLong
Instance details

Defined in Data.Default.Class

Default CFloat
Instance details

Defined in Data.Default.Class

Default CDouble
Instance details

Defined in Data.Default.Class

Default CPtrdiff
Instance details

Defined in Data.Default.Class

Default CSize
Instance details

Defined in Data.Default.Class

Default CSigAtomic
Instance details

Defined in Data.Default.Class

Default CClock
Instance details

Defined in Data.Default.Class

Default CTime
Instance details

Defined in Data.Default.Class

Default CUSeconds
Instance details

Defined in Data.Default.Class

Default CSUSeconds
Instance details

Defined in Data.Default.Class

Default CIntPtr
Instance details

Defined in Data.Default.Class

Default CUIntPtr
Instance details

Defined in Data.Default.Class

Default CIntMax
Instance details

Defined in Data.Default.Class

Default CUIntMax
Instance details

Defined in Data.Default.Class

Default [a]
Instance details

Defined in Data.Default.Class

Methods

def :: [a] Source #

Default ( Maybe a)
Instance details

Defined in Data.Default.Class

Integral a => Default ( Ratio a)
Instance details

Defined in Data.Default.Class

Default a => Default ( IO a)
Instance details

Defined in Data.Default.Class

( Default a, RealFloat a) => Default ( Complex a)
Instance details

Defined in Data.Default.Class

Default ( First a)
Instance details

Defined in Data.Default.Class

Default ( Last a)
Instance details

Defined in Data.Default.Class

Default a => Default ( Dual a)
Instance details

Defined in Data.Default.Class

Default ( Endo a)
Instance details

Defined in Data.Default.Class

Num a => Default ( Sum a)
Instance details

Defined in Data.Default.Class

Num a => Default ( Product a)
Instance details

Defined in Data.Default.Class

Default r => Default (e -> r)
Instance details

Defined in Data.Default.Class

Methods

def :: e -> r Source #

( Default a, Default b) => Default (a, b)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b) Source #

( Default a, Default b, Default c) => Default (a, b, c)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b, c) Source #

( Default a, Default b, Default c, Default d) => Default (a, b, c, d)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b, c, d) Source #

( Default a, Default b, Default c, Default d, Default e) => Default (a, b, c, d, e)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b, c, d, e) Source #

( Default a, Default b, Default c, Default d, Default e, Default f) => Default (a, b, c, d, e, f)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b, c, d, e, f) Source #

( Default a, Default b, Default c, Default d, Default e, Default f, Default g) => Default (a, b, c, d, e, f, g)
Instance details

Defined in Data.Default.Class

Methods

def :: (a, b, c, d, e, f, g) Source #