Created
September 18, 2014 02:03
-
-
Save notyy/84400296622780449191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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