toolshed-0.16.0.0: Ill-defined library.

Safe HaskellSafe
LanguageHaskell2010

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

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

Methods

defaultValue Source

Arguments

:: a

The default value of the data-type.

Instances