hhvm / user-documentation

Documentation for those that use HHVM and write Hack code.
http://docs.hhvm.com/
Other
129 stars 159 forks source link

Type arguments section needs revisiting #682

Open zdrtx opened 5 years ago

zdrtx commented 5 years ago

Please complete the information below:

Where is the problem?

The sentence: "In this case, the type specifiers ConstVector, KeyedIterator<int, mixed>, Vector, Map<int, mixed>, Traversable, Vector<Pair<mixed, Tu>>, and Tu, and are type arguments."

What is the problem?

There is either something missing in the list in "and are type arguments", or there is an extra ", and".


Please don't change anything below this point.


fredemmott commented 5 years ago

I don't think we'd consider things like Map<int, mixed> to be type arguments - except when passed as a generif type - and I'm not really sure what this page is trying to say. @Wilfred , do you have ideas for improving this page?