Re: [go-nuts] Channel receive operator. Untyped boolean result.

2020-06-22 Thread Laevus Dexter
I get it, thanks. -- 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. To view this discussion on the web visit

Re: [go-nuts] Channel receive operator. Untyped boolean result.

2020-06-21 Thread Ian Lance Taylor
On Sun, Jun 21, 2020 at 2:11 PM Laevus Dexter wrote: >> >> A receive expression used in an assignment or initialization of the special >> form >> >> x, ok = <-ch >> x, ok := <-ch >> var x, ok = <-ch >> var x, ok T = <-ch >> >> yields an additional untyped boolean result reporting whether the >>

[go-nuts] Channel receive operator. Untyped boolean result.

2020-06-21 Thread Laevus Dexter
> > A receive expression used in an assignment > or initialization of the > special form > > x, ok = <-ch > x, ok := <-ch > var x, ok = <-ch > var x, ok T = <-ch > > yields an additional untyped boolean result reporting whether the > communication