Re: [go-nuts] generics draft and specialization

2020-06-21 Thread Jon Reiter
sorry, previous is v unclear as it's assuming a solution to question 1 in clarification on question 2. amended below... On Mon, Jun 22, 2020 at 12:40 PM Jon Reiter wrote: > On Mon, Jun 22, 2020 at 12:00 PM Ian Lance Taylor wrote: > >> On Sat, Jun 20, 2020 at 10:48 PM Jon Reiter wrote: >> > >>

Re: [go-nuts] generics draft and specialization

2020-06-21 Thread Jon Reiter
On Mon, Jun 22, 2020 at 12:00 PM Ian Lance Taylor wrote: > On Sat, Jun 20, 2020 at 10:48 PM Jon Reiter wrote: > > > > the draft lays out an example function GeneralAbsDifference. these > comments build around that. i wanted to see how far i could get towards > working specialization within thi

Re: [go-nuts] generics draft and specialization

2020-06-21 Thread Ian Lance Taylor
On Sat, Jun 20, 2020 at 10:48 PM Jon Reiter wrote: > > the draft lays out an example function GeneralAbsDifference. these comments > build around that. i wanted to see how far i could get towards working > specialization within this framework. the baseline assumption is that when > specializ