-
I would say "Generics to enable abstractions to be constructed across different datatypes, corresponding to templates in C++ or ???? in Java and C#." The current sentence is confusing.
-
+1 (perhaps "type tokens"?)
-
The syntax highlighting is also highlighting keywords in error messages. There's also no separate support for toplevel highlighting vs shell vs .ml files.
lpw25 updated
11 years ago
-
s/we see that/We see that/
nizox updated
11 years ago
-
It is not explicitly stated that type variables start with a '.
-
Might be worth mentioning that single letter type parameters such as 'a or 'b are typically pronounced as the corresponding Greek letters alpha and beta (and so on). In fact, it's not uncommon for pr…
-
This paragraph is confusing. The first sentence explains why the above code doesn't work.
The second sentence starts talking about parametric polymorphism. You should split out the second into a sep…
-
first time coming across this, worth noting that the usual pronunciation of `'a` is "alpha"? (for those of us who still read aloud in our heads, it's nice to know how to pronounce things :)
mor1 updated
11 years ago
-
Is it accurate to say that generics are a subtype of parametric polymorphism? If so, could you include an example of what can be expressed in OCaml's parametric polymorphism that can't be expressed in…
-
" they can't all be right" -> "they can't both be true"