On Sat, Aug 16, 2025 at 1:21 AM Ruslan Semagin <pixel.365...@gmail.com> wrote:
>
> I understand the concern about implicit loops and the general bias against 
> them in the language design.
> My thought here was that this case might be closer to the existing slice 
> expansion at call sites (f(xs...)). In both cases we’re conceptually saying 
> “apply this operation elementwise.” One is a function call, the other is a 
> channel send.

But the function call is not applied elementwise. As I tried to
explain, the slice is passed directly, not element by element.  See
https://go.dev/play/p/R4B1wHZMTuL.

Ian

-- 
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 visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcW-3MCYyb%2BAF8i%3D3AnEDcWz%2BBoLk_ZXRtqrpt4NrC%2Bf7w%40mail.gmail.com.

Reply via email to