But we can still using [type T] instead. On Thursday, September 6, 2018 at 6:45:07 AM UTC-7, Ian Lance Taylor wrote: > > On Thu, Sep 6, 2018 at 5:28 AM, <ffm...@web.de <javascript:>> wrote: > > > > Am Donnerstag, 6. September 2018 13:43:32 UTC+2 schrieb Christophe > Meessen: > >> > >> I understand your example, but it wouldn't be a problem anymore with a > >> special character like a $ sign. D use the !. > > > > > > Scala uses [ and ] instead of < and > to avoid the problem that < and > > mean > > something different depending on the context. > > Note that simple [ and ] don't work in Go, as explained in the > generics design draft. > > Ian >
-- 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. For more options, visit https://groups.google.com/d/optout.