What does `:_*` (colon underscore star) do in Scala?
It “splats”1 the sequence. Look at the constructor signature new Elem(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*) which is called as new Elem(prefix, label, attributes, scope, child1, child2, … childN) but here there is only a sequence, not child1, child2, etc. so this allows the result sequence to be used as the … Read more