Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Scala 2 ArrowAssoc definition
implicit final class ArrowAssoc[A](private val self: A) extends AnyVal {
@inline def -> [B](y: B): (A, B) = (self, y)
@deprecated("Use `->` instead...", "2.13.0")
def [B](y: B): (A, B) = ->(y)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.