FICHA · MANJARO

haskell-data-default

A class for types with a default value

  • haskell-library
  • LIBRARY
  • DEFAULTS
  • TYPECLASSES
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

A Haskell library that provides a class for types with a default value. It lets code ask for a sensible initial value in a generic way when a type defines one.

Developers use it to reduce repeated boilerplate in configuration, records, options, and test data. Defaults should be chosen carefully because they influence behavior when users do not provide explicit settings.

Permissions

Permissions not analysed for this source yet.