time.scala: function as a parameter
time.scala: anonymous function
tree operations
generic in scala example