Valid-param-declon-list
Validate a list of parameter declarations.
- Signature
(valid-param-declon-list paramdecls fundef-params-p table ienv)
→
(mv erp new-paramdecls types return-types new-table)
- Arguments
- paramdecls — Guard (param-declon-listp paramdecls).
- fundef-params-p — Guard (booleanp fundef-params-p).
- table — Guard (valid-tablep table).
- ienv — Guard (ienvp ienv).
- Returns
- erp — Type (maybe-msgp erp).
- new-paramdecls — Type (param-declon-listp new-paramdecls).
- types — Type (type-listp types).
- return-types — Type (type-setp return-types).
- new-table — Type (valid-tablep new-table).
We validate each parameter in turn,
threading the validation table through,
using a separate validation function.