ArrowAssoc

scala.Predef.ArrowAssoc
final class ArrowAssoc[A](self: A) extends AnyVal

Type parameters

A

the type of the left-hand side of the arrow association

Value parameters

self

the value to use as the first element of the resulting tuple

Attributes

Deprecated
[Since version 3.10.0] Use `->` extension method instead.
Source
Predef.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Deprecated methods

def ->[B](y: B): (A, B)

Attributes

Deprecated
[Since version 3.10.0] Use `->` extension method instead.
Source
Predef.scala
def [B](y: B): (A, B)

Attributes

Deprecated
[Since version 2.13.0] Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
Source
Predef.scala