On 1/19/21 11:19 AM, Artur Vianna wrote: > Similar how you can't compare two slices and it fails to compile, because > slices > aren't comparable. Internally the compiler would need the information on every > possible operation on every type, but i guess this partly exists already, as > part of the static checking.
I'm not tuned into the requirements of the Generics proposal, however. I would like the syntax of. func (String|[]byte input, myType|publicKey secondInput) { } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/54f1c29a-3328-623a-a83b-9e312b658b27%40gmail.com.