Haex.Data.DataConstructor (haex v0.0.1)
Builds data constructor modules used to implemente a data type
Link to this section Summary
Link to this section Types
Specs
t() :: %Haex.Data.DataConstructor{ name: Haex.Data.mod_name(), params: [Haex.Data.param()] | Haex.Data.param_keywords(), record?: boolean() }
Link to this section Functions
Link to this function
has_variable?(data_constructor, variable_name)
Specs
has_variable?(t(), Haex.Data.param_name()) :: boolean()
Link to this function
helper_name(data_constructor)
Link to this function
type_variables(data_constructor)
Specs
type_variables(t()) :: [Haex.Data.param()]