You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many, but not all cases, an absent sequence or record argument is equivalent to an empty one. The spec should be clear about when that is or isn't the case. When they are equivalent, the sequence or record should be defaulted to empty in order to reduce the number of states the specification has to deal with.
For sequences, we can use =[] in the dictionary definition to set the default value. For records, I don't think ={} works, but we can do it the first time those members are read or by setting the initial value of the struct they're copied into.
The text was updated successfully, but these errors were encountered:
In many, but not all cases, an absent sequence or record argument is equivalent to an empty one. The spec should be clear about when that is or isn't the case. When they are equivalent, the sequence or record should be defaulted to empty in order to reduce the number of states the specification has to deal with.
For sequences, we can use
=[]
in the dictionary definition to set the default value. For records, I don't think={}
works, but we can do it the first time those members are read or by setting the initial value of the struct they're copied into.The text was updated successfully, but these errors were encountered: