R/constructors.R
process_alternatives.RdGoes through a list of |-separated expressions and define them as constructors
process_alternatives(constructors, data_type_name, env)
| constructors | The constructs specification |
|---|---|
| data_type_name | The type the constructor should generate |
| env | The environment where we define the constructor |