Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | generics@haskell.org |
Safe Haskell | Safe-Inferred |
Data.Generics.Builders
Description
This module provides generic builder functions. These functions construct values of a given type.
Documentation
empty :: forall a. Data a => a
Construct the empty value for a datatype. For algebraic datatypes, the leftmost constructor is chosen.