>> Could you please give an example of the proposed syntax?

> func F[T constraints.Integer]() {
>     switch T {
>     case int:
>     case int8:
>     }
> }

Makes perfect sense, 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 
https://groups.google.com/d/msgid/golang-nuts/877dtofltb.wl-jch%40irif.fr.

Reply via email to