Parametric polymorphism: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 139:
| map_tree f (Node (x,l,r)) = Node (f x, map_tree f l, map_tree f r)</lang>
{{Omit From|ALGOL 68}} <!-- it isn't immediately obvious that ALGOL 68 is object oriented -->
{{omit from|Tcl}} <!-- not statically typed -->
{{omit from|Ruby}} <!-- not statically typed -->
{{omit from|C}} <!-- no type variables in stdc -->
{{omit from|Ruby}} <!-- not statically typed -->
{{omit from|Tcl}} <!-- not statically typed -->
Anonymous user