blob: c1df1dee2035e56d118f7428e74f90d4b6444b13 (
plain) (
tree)
|
|
object Test {
type Histogram[X] = Map[X, Int]
type StringlyHistogram[X >: String] = Histogram[X]
val xs: Histogram[String] = Map[String, Int]()
val ys: StringlyHistogram[String] = xs
val zs: StringlyHistogram = xs
}
|