Adds this primitive recursive function definition to a context.
Adds this primitive recursive function definition to a context.
Value parameters
ctx
The context to which this function definition is to be added.
Attributes
Returns
Returns the new context state resulting from the addition of this function definition to the current state of ctx. An exception is thrown if number of equations does not equal the number of constructors of the recursion type, or if the order of the equations does not correspond to the order of constructors of the recursion type.