[go-nuts] Re: [ANN] CGo-free sqlite database/sql driver 1.4.0 for linux/amd64 released

2020-08-27 Thread Andrey T.
Jan, This is fantastic news! Congratulation on hitting such a milestone! (patiently waiting for the windows and macos) Andrey On Wednesday, August 26, 2020 at 3:52:13 PM UTC-6, Jan Mercl wrote: > > From the change log (https://godoc.org/modernc.org/sqlite#hdr-Changelog) > > 2020-08-26 v1.4.0:

[go-nuts] Re: [Generics] Simplified syntax to sidestep the bracket arguments

2020-07-21 Thread Andrey T.
I have tried to propose something like this in https://groups.google.com/forum/#!topic/golang-nuts/W3fSnH0w1G0 (and earlier I was dancing around that idea in https://groups.google.com/forum/#!topic/golang-nuts/Rp3yUUy2nS8 ), but somehow it did not get any serious attention. I still think that

Re: [go-nuts] [generics] cannot use generic type list.Element(type TElem) without instantiation

2020-07-01 Thread Andrey T.
Ian, continuation question -- does `type intElement list.Element(int)` introduce a new type just like `type myInt int` does? If so, in a previous example, these 2 maps are not of the same type, am I right? Thank you very much, Andrey On Wednesday, July 1, 2020 at 10:50:07 AM UTC-6, Ian

Re: [go-nuts] [generics] Syntax feedback

2020-06-28 Thread Andrey T.
Tyler, May I humbly suggest https://groups.google.com/d/msg/golang-nuts/W3fSnH0w1G0/JbMkJrKICAAJ for an additional item for your list? Thank you very much, Andrey On Saturday, June 27, 2020 at 11:46:23 AM UTC-6, Tyler Compton wrote: > > Hi Rob, > > This topic has been discussed many times on

[go-nuts] Re: [generics] Use decorators ($, or @, or #) to specify that the type is a generic type.

2020-06-25 Thread Andrey T.
> > On Thursday, 25 June 2020 06:17:24 UTC+2, Andrey T. wrote: > > >> 3. Ability to use decorated interface name as spec for type constrains >> >>func (type T Comparable) Max(a... T) (result T) {...} >> >>might become >> >

[go-nuts] [generics] Use decorators ($, or @, or #) to specify that the type is a generic type.

2020-06-24 Thread Andrey T.
The idea: Use decorators ($, or @, or #) to specify that the type is a generic type. (Syntax is vaguely follows to * "it is a pointer", so $T becomes a "it is a generic type") 1. Readability - Immediately visible which type is a generic type. 2. Readability - Less braces. Compare func