I have come up twice against wanting in my defs to specify that a given new Symbol is a use of a SYMBOL structure in which the value of the surface is limited to SYMBOLs of a given structure. This is much like saying a lattitude is a use of a float in which the values are limited to between 0 & 90.
This should be implemented in a general fashion, but having some quick hacks for numbers (integers and floats), string enumeration/regexps, and symbols/semanticIDs may be worth doing.
I have come up twice against wanting in my defs to specify that a given new Symbol is a use of a SYMBOL structure in which the value of the surface is limited to SYMBOLs of a given structure. This is much like saying a lattitude is a use of a float in which the values are limited to between 0 & 90. This should be implemented in a general fashion, but having some quick hacks for numbers (integers and floats), string enumeration/regexps, and symbols/semanticIDs may be worth doing.