私は同じように見えるデータストア型クラスの束を持っています。 trait FooStore[C] {
def create(f: FooId => Foo)(c: C): Foo
// update and find methods
}
私は物事を単純化したいと sealed trait AR {
type Id
type Type
}
seale
シングルトンタイプから来たパス依存型の正しい型をスカラーが見つけようとしています。 まず、ここでは例えば型容器であり、1例: trait Container {
type X
def get(): X
}
val container = new Container {
type X = String
def get(): X = ""
}
私はこ