Skip to content

Instantly share code, notes, and snippets.

@andrewconner
Created May 7, 2015 00:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewconner/1f9d5d1bdcae758f9a1c to your computer and use it in GitHub Desktop.
Save andrewconner/1f9d5d1bdcae758f9a1c to your computer and use it in GitHub Desktop.
ForwardPipe
implicit class AnyExtensionOps[A](val x: A) extends AnyVal {
def |>[B](f: A => B): B = f(x)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment