Scala 3, Programming Scala.
T): T = ... def break[T](value: T)(using label: Label[T]): Nothing = throw Break(label, value) final class Break[T] (val label: Label[T], val value: T) extends RuntimeException(...) end boundary In the firstIndex example above, the boundary: line is short for boundary.apply: with the indented code