Skip to content

Instantly share code, notes, and snippets.

@lauris
Created April 15, 2015 07:05
Show Gist options
  • Save lauris/f4543958bf52676c1f09 to your computer and use it in GitHub Desktop.
Save lauris/f4543958bf52676c1f09 to your computer and use it in GitHub Desktop.
class OG(string:String){
def unary*~~||~~* = println("it's loc, baby")
def *~~||~~* = println("no joke")
}
val og = new OG
*~~||~~*og*~~||~~*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment