Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Named arguments used in generating code.
Synopsis
- newtype NamedArgument = NA {
- _qtd :: QuantityDict
- narg :: (Quantity q, MayHaveUnit q) => q -> NamedArgument
Chunk Type
newtype NamedArgument Source #
Any quantity can be a named argument (wrapper for QuantityDict
),
but with more of a focus on generating code arguments.
NA | |
|
Instances
Constructor
narg :: (Quantity q, MayHaveUnit q) => q -> NamedArgument Source #
Smart constructor for NamedArgument
.