-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
Closed
Description
The following is currently what holds for relational binops on ()
assert (() < ());
assert (() <= ());
assert (!(() > ()));
assert (!(() >= ()));
Now, because we have relational binops over structural types, we have to either have relational binops over all types, or make structural comparisons much more complicated. But the implementation for unit is arbitrary. Suggest the following
assert (!(() < ()));
assert (() <= ());
assert (!(() > ()));
assert (() >= ());
Metadata
Metadata
Assignees
Labels
No labels