And a much more extensive test, using packages, passing functions around, using generics, etc
Scala playground