Copyright | © Jonathan Lorimer 2023 |
---|---|
License | MIT |
Maintainer | jonathanlorimer@pm.me |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
This module contains code related to defaulting.
Since: 0.0.2.0
Synopsis
- class DefaultSource (a :: k) where
Documentation
class DefaultSource (a :: k) where Source #
This class lets us represent defaults as a function from record field
names to Maybe
values. Nothing
represents the absence of a default, and
the default implementation is to always return Nothing
.
Since: 0.0.2.0
Nothing