What English word would you use to describe a particular example of a type constructor, in the sense that `List[Int]` and `List[String]` are examples of `List`s? I'd like to avoid calling them "examples" if possible.
-
Show this thread
-
This question arose because we can talk about `List`'s type parameter being "instantiated" (that is, decided during typechecking) to `Int` or `String`, but saying `List[Int]` is an instance of a type is problematic because it implies the creation of a new heap object.
1 reply 0 retweets 0 likesShow this thread -
So while "List[Int] is an instance of a List" is correct in a certain context, I don't want to confuse my readers by assuming they have precisely that context and not a slightly different one. Any ideas?
19 replies 0 retweets 0 likesShow this thread -
Replying to @propensive
A specified List? List[Int] is a specified type of List. Still seems a bit clunky.
1 reply 0 retweets 0 likes
Yes, I'm just thinking through some usages, and "specified" does sound a bit cumbersome, maybe because it's a past participle...?
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.