Re: [go-nuts] [generics] Fuzzer, Type Switches

2020-07-18 Thread Steven Blenkinsop
> On Jul 18, 2020, at 9:00 PM, Ian Lance Taylor wrote: > > On Sat, Jul 18, 2020 at 3:43 PM wrote: >> >> This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ >> >> Still uses interfaces internally. > > Compare that to https://go2goplay.golang.org/p/8U4h9flkhFN. > > Ian Seems

Re: [go-nuts] [generics] Fuzzer, Type Switches

2020-07-18 Thread Ian Lance Taylor
On Sat, Jul 18, 2020 at 3:43 PM wrote: > > This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ > > Still uses interfaces internally. Compare that to https://go2goplay.golang.org/p/8U4h9flkhFN. Ian -- You received this message because you are subscribed to the Google Groups

[go-nuts] [generics] Fuzzer, Type Switches

2020-07-18 Thread uluyol0
This seems to work: https://go2goplay.golang.org/p/8veymwXYCoZ Still uses interfaces internally. -- 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

Re: [go-nuts] [generics] Fuzzer, Type Switches

2020-07-17 Thread Ian Lance Taylor
On Fri, Jul 17, 2020 at 12:36 PM Josh Hoak wrote: > > I was playing around with trying to use generics to de-interface-ify a fuzzer > implementation, and I ran into some stumbling blocks. > > is it possible to perform type switches? It seems the answer is currently no > (example, design doc

[go-nuts] [generics] Fuzzer, Type Switches

2020-07-17 Thread Josh Hoak
I was playing around with trying to use generics to de-interface-ify a fuzzer implementation, and I ran into some stumbling blocks. is it possible to perform type switches? It seems the answer is currently no (example , design doc reference