3 lines
65 B
Scala
3 lines
65 B
Scala
|
|
def toName(e: Employee) = e.name
|
||
|
|
val treeOfNames = t.map(toName)
|