This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs330_f2016:lab5 [2016/09/27 20:49] dcostello |
cs330_f2016:lab5 [2016/09/27 20:57] dcostello |
||
---|---|---|---|
Line 135: | Line 135: | ||
function add_last_name(name::AbstractString, tree) | function add_last_name(name::AbstractString, tree) | ||
</code> | </code> | ||
- | Appends name to the end of the name of each member of the tree. You should use tree_map. | + | Appends name to the end of the name of each member of the tree. You should use tree_map. You do not need to add a space in front of the name. |
Hint: Julia uses ''*'' for string concatenation. | Hint: Julia uses ''*'' for string concatenation. |