Parametric polymorphism: Difference between revisions
Content added Content deleted
Line 582: | Line 582: | ||
| Empty -> Empty |
| Empty -> Empty |
||
| Node (x,l,r) -> Node (f x, map_tree f l, map_tree f r)</lang> |
| Node (x,l,r) -> Node (f x, map_tree f l, map_tree f r)</lang> |
||
=={{header|Oforth}}== |
|||
{{omit from|Oforth|Oforth is nt statically-typed language}} |
{{omit from|Oforth|Oforth is nt statically-typed language}} |