Hi there. 

I am reading go spec. When hit the "Types" section, 

    https://go.dev/ref/spec#Types

it stated "Predeclared types, defined types, and type parameters are called 
named types."

I wonder why "type parameters" is "named type". To find the definition of 
this term, I found section 

    https://go.dev/ref/spec#Type_parameter_declarations

As quoted, "A type parameter list declares the *type parameters* of a 
generic function or type declaration. ". My interpretation is: *type 
parameters *itself is not a type, but a list of type parameters. 

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/66b7b559-cebe-435e-aa61-20329b37d9fan%40googlegroups.com.

Reply via email to