HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduledata-default-class-0.2.0.0Haskell98

Data.Default.Class

This module re-exports the Default class from Data.Default, for compatibility with older code.

  • 1 class
classclass Default a where
#

A class for types with a default value.

Methods

  • def :: a

    The default value for this type.

Instances96Default, …