Parametric polymorphism: Difference between revisions

Omitted from Tcl as language is not statically typed
({{Omit From|ALGOL 68}} <!-- it isn't immediately obvious that ALGOL 68 is object oriented -->)
(Omitted from Tcl as language is not statically typed)
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 -->
Anonymous user