Scala 3, Programming Scala.
--------------------------------------------------------------------------------------------------------------------------------------------------- // 1 |val fold2b = xs.foldLeft(0): (x, y) => x + y // | ^^^^^^^^^^^^^^^^^^^^^^ // | not a legal formal parameter for a function literal That isn’t