Skip to content

Instantly share code, notes, and snippets.

@notyy
Created September 18, 2014 02:03
Show Gist options
  • Save notyy/84400296622780449191 to your computer and use it in GitHub Desktop.
Save notyy/84400296622780449191 to your computer and use it in GitHub Desktop.
//this is ok
case class FieldName(name: String){
def ::[T](v:T): T = v
}
1 :: (FieldName("yy"))
//doesn't work
case class FieldName(name: String){
def :=>[T](v:T): T = v
}
1 :=> (FieldName("yy"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment