In javascript, we can do:
[\"a string\", 10, {x : 1}, function() {}].push(\"another value\");
What is the Scala equivalent?
Scala might get the ability for a "heterogeneous" list soon: HList in Scala