Parametric polymorphism: Difference between revisions

m
Line 763:
Apply `f` (element-wise and in-place) to the values in tree `bt`.
Also prints the tree like an s-expression *for demonstrative purposes only*,
new types should overrideoverload the `show()` function for pretty-printing.
"""
function map!(f::Function, bt::Tree{T}) where T
Anonymous user