toolshed-0.13.0.0: Utilities used by other packages.

Safe HaskellSafe-Infered

ToolShed.Defaultable

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
A simple interface which data-types with a default-value can implement.

Synopsis

Type-classes

class Defaultable a whereSource

An interface to which data which have a default-value can adhere.

Methods

defaultValueSource

Arguments

:: a

The default value of the data-type.

Instances