3 ms·
NonMax types would be nice to have, since the natural "null" value for an index into some linear data structure is the highest one In the meantime it can be do
by jsheard 6y ago
NonMax types would be nice to have, since the natural "null" value for an index into some linear data structure is the highest one
In the meantime it can be done by wrapping NonZero and storing !value, but that's a (tiny) runtime overhead on each get/set