On Wed, Jun 24, 2026 at 6:17 PM [email protected] <[email protected]> wrote: > > WHAT I'D LIKE FEEDBACK ON > > 1. Defined type over iter.Seq vs a struct wrapper — does the zero-cost interop > justify pinning T to `any` and pushing constrained ops to free functions? > 2. The method-vs-free-function rule above: would you have drawn it elsewhere? > 3. Any cleaner idea than the subtype trick for restoring the chain on > constrained operations?
I think that is what you are after is what Merovious outlined at https://github.com/golang/go/issues/65394#issuecomment-1933627587. 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXqP0_S5BB6_qXecANKLj5AUWxnQkfBDpxKfzP4o_ZW-w%40mail.gmail.com.
