Skip to content

Instantly share code, notes, and snippets.

@takayahilton
Created January 8, 2016 14:52
Show Gist options
  • Save takayahilton/e122a09bb4eb1b40ec68 to your computer and use it in GitHub Desktop.
Save takayahilton/e122a09bb4eb1b40ec68 to your computer and use it in GitHub Desktop.
メモ scala のtype Aliasのアクセスの仕方 ref: http://qiita.com/takayahilton/items/aef63e9cf2d232a96f96
trait Fuge {
type A = String
}
implicitly[Fuge#A =:= String]
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