In parallel discussion in the "generics" channel of the "Gophers" Slack workspace, Roger Peppe was kind enough to point me <https://gophers.slack.com/archives/C88U9BFDZ/p1648501157101109?thread_ts=1648490465.666939&cid=C88U9BFDZ> to an example of the structural type constraint <https://go.dev/play/p/7_FgAij0xia> I was after.
-- 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 https://groups.google.com/d/msgid/golang-nuts/fb5404b2-26b2-4eb0-8020-3e11d13b009dn%40googlegroups.com.