On Tue, 2021-01-19 at 20:01 +0000, Kevin Chadwick wrote: > I was inquiring about the possibility of no identifiers or > abstraction but simply like Gos non generic functions (possibly > reversed if needed). Using type OR type. > > func (String | []byte firstInput, myType | publicKey > secondInput) { > > firstInput[0] > firstInput[[]byte] > }
How does this encode the desire that parameter types match? -- 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/e8a2cd7d31c89f7aa3eced33f1ce9c43ef944dfe.camel%40kortschak.io.