HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Moduledata-default-0.8.0.2Haskell98

Data.Default

This module defines a class for types with a default value. Instances are provided for (), Set, Data.Map.Map, Int, Integer, Float, Double, and many others (see below).

  • 1 class
classclass Default a where
#

A class for types with a default value.

Methods

  • def :: a

    The default value for this type.

Instances96Default, …