For a scala list, what is the difference between
:::
and
++
From doc
::: Adds an element at the beginning of this list.
++ Returns a new list containing the elements from the left hand operand followed by the elements from the right hand operand.