Created
January 8, 2016 14:52
-
-
Save takayahilton/e122a09bb4eb1b40ec68 to your computer and use it in GitHub Desktop.
メモ scala のtype Aliasのアクセスの仕方 ref: http://qiita.com/takayahilton/items/aef63e9cf2d232a96f96
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
trait Fuge { | |
type A = String | |
} |
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
implicitly[Fuge#A =:= String] |
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
val fuge = new Fuge{} | |
implicitly[fuge.A =:= String] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment