Scala 3, Programming Scala.
------------------------------------------------------------------------------------------------------------------------------------- 3 | |^ |'.' expected, but eof found Nope. You’ll still need braces: scala> import scala.util.{Try, Success, Failure} | scala> import scala.{ | Option, Some, None | }