Create a function constructor and put it in an environment.

process_constructor_function(constructor, data_type_name, env)

Arguments

constructor

The construct specification

data_type_name

The type the constructor should generate

env

The environment where we define the constructor