On Fri, Feb 12, 2021 at 7:14 AM xie cui wrote:
>
> https://github.com/golang/go/blob/master/src/cmd/compile/internal/gc/typecheck.go
> i feel had to understand the param ctxt to typecheck, could you explain to me?
I'm sorry, can you be more specific? The declaration of typecheck is
func typeche
Thanks Steve,
That's what I thought, but on taking a closer look, especially the getting
to the `following-sibling` part, I didn't find any API that I can make use
of out of the box. Hence --
https://github.com/beevik/etree/issues/99
Could you elaborate on how to get to the `following-sibling
> I'd really love to see local functions, though, not for real scope usage
but for clarity of coding.
You kind-of can: https://play.golang.org/p/8BeeIb_azUM
But if you're not interested in accessing variables in the enclosing scope,
you might as well put them as non-exported functions at the to
Thanks, Ian, for the correction, and for all the hard work...
All much appreciated!
On Friday, 12 February 2021 at 15:49:57 UTC Ian Lance Taylor wrote:
> On Fri, Feb 12, 2021 at 7:39 AM Amnon wrote:
> >
> > And should be out in 1.17 (this Autumn).
> >
> > Congratulations to all those who made i
thank you!
On Fri, 12 Feb 2021, 12:49 Amnon, wrote:
> I imagine that the people who usually write the blogs are busy getting
> 1.16 out the door.
>
> But there are a few blog posts:
> https://blog.golang.org/why-generics
>
> https://blog.golang.org/generics-proposal
>
> https://blog.golang.org/g
On Fri, Feb 12, 2021 at 7:39 AM Amnon wrote:
>
> And should be out in 1.17 (this Autumn).
>
> Congratulations to all those who made it happen,
> and to the Go team for making sure that the design was right before it
> was accepted.
Thanks!
But, a clarification: we are targeting the 1.18 release
I imagine that the people who usually write the blogs are busy getting 1.16
out the door.
But there are a few blog posts:
https://blog.golang.org/why-generics
https://blog.golang.org/generics-proposal
https://blog.golang.org/generics-next-step
And there are talks by ILT and Robert Griesemer at
Will there be a blog post about this? I really want to know more!
On Fri, 12 Feb 2021, 12:39 Amnon, wrote:
> And should be out in 1.17 (this Autumn).
>
> Congratulations to all those who made it happen,
> and to the Go team for making sure that the design was right before it
> was accepted.
>
>
And should be out in 1.17 (this Autumn).
Congratulations to all those who made it happen,
and to the Go team for making sure that the design was right before it
was accepted.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from th
https://github.com/golang/go/blob/master/src/cmd/compile/internal/gc/typecheck.go
i feel had to understand the param ctxt to typecheck, could you explain to
me?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and s
Hi Trig,
I'm new to the list and I'm a Go newbie, but
> On 12. Feb, 2021, at 01:09, Trig wrote:
>
> So, in Go... you can either define imports, constants, types, variables one
> at a time... or you can group them using brackets. Why was it decided not to
> be able to do that with functions?
Search for "golang escape to heap" and you'll get lots of explanation and
examples.
On Friday, 12 February 2021 at 05:59:00 UTC cuiw...@gmail.com wrote:
>
> https://github.com/golang/go/blob/c31540364c2bc3bdb7800cfc344d85c2c9df3893/src/cmd/compile/internal/gc/main.go#L654
> what is captured by v
12 matches
Mail list logo