ArrowAssoc

scala.Predef.ArrowAssoc
final implicit 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

Source
Predef.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

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

Attributes

Source
Predef.scala

Deprecated methods

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