Re:Is Go Duck-Typed?
by steveklabnik on Thursday March 05, 2020 @10:10AM
(#22494106)
> 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 :)
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 :)