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
It's more repetitive, but equals is mostly meant to be used for discriminated unions. Having exactly one argument would add simplicity and constitency.
The text was updated successfully, but these errors were encountered:
equals
accept rest parameters:The question is: should we limit the number of arguments to exactly 1? For the example above, this would mean:
It's more repetitive, but
equals
is mostly meant to be used for discriminated unions. Having exactly one argument would add simplicity and constitency.The text was updated successfully, but these errors were encountered: