Valid-enumer-list
Validate a list of enumerators.
- Signature
(valid-enumer-list enumers table ienv)
→
(mv erp new-enumers return-types new-table)
- Arguments
- enumers — Guard (enumer-listp enumers).
- table — Guard (valid-tablep table).
- ienv — Guard (ienvp ienv).
- Returns
- erp — Type (maybe-msgp erp).
- new-enumers — Type (enumer-listp new-enumers).
- return-types — Type (type-setp return-types).
- new-table — Type (valid-tablep new-table).
We go through each enumerator in order,
extending the validation table with each.