3 ms·
> After all, who doesn't want to hijack unary minus for the purpose of as hackneyed rendering of EBNF? Ha! > Anyway a serious answer to your comment would be
by steveklabnik 7y ago
> After all, who doesn't want to hijack unary minus for the purpose of as hackneyed rendering of EBNF?
Ha!
> Anyway a serious answer to your comment would be to create a field or ring concept.
Yeah, this is true. We really, really struggled to create a set of traits for numerics, even regardless of these more advanced ideas... so it's unclear this would work. But it's certainly closer than I had thought :)