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
When writing a compound type (i.e. `int|int|bool`) you can use
duplicates. These duplicates have no function and will only add extra
complexity for consuming applications. As such I have introduced
deduplication into the compound type and improved type safety by means
of a private `add` function.
The new `add` function is private by design as we want our Value Objects
immutable and this is only used internally for type checking and
deduplication.
0 commit comments