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.
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?
-
-
Specialization? Might not hold for all the uses, but kind of tells what you mean, right?
-
Not quite, for similar reasons... I might say that `List[Int]` is a specialization of `List[AnyVal]`, but I would need `List` to be a proper type and not a type constructor to feel like "specialization" is the right term. This is like playing Minesweeper with overloaded words...
- Show replies
New conversation -
-
-
A specimen?
-
That's an interesting one... I certainly shan't rule it out! :)
End of conversation
New conversation -
-
-
Variants
-
"Variant" was actually my instinctive choice... but I put it to one side because it sounded too close to "variance". But having said that, *variance* governs different *variants* of a type, which might make it actually a perfect choice. The allusion to variance is a good thing!
End of conversation
New conversation -
-
-
A specified List? List[Int] is a specified type of List. Still seems a bit clunky.
-
Yes, I'm just thinking through some usages, and "specified" does sound a bit cumbersome, maybe because it's a past participle...?
End of conversation
New conversation -
-
-
I'm not a native speaker, but how about "concretization"?
-
It brought a smile to my face, at least! Mainly because it's one of those words that comes from a noun that's mutated into a verb, that's mutated further to turn it into a noun. Though it's the opposite of "abstraction", which is slightly the wrong meaning, unfortunately.
End of conversation
New conversation -
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.