toolshed-0.15.0.1: Utilities used by other packages.

Safe HaskellSafe-Inferred
LanguageHaskell98

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