path-dependent-type
Is a Path Dependent Type a subtype?
trait A { trait B { def foo: A.this.B = new B{} def bar: A#B= foo def baz: A.this.B = bar // type mismatch; found : A#B required: A.this.B[详细]
2023-03-05 14:55 分类:问答Why does Scala have path-dependent types?
I\'ve been doing some research on path-dependent types. The best description I could find for it was:[详细]
2023-02-23 06:58 分类:问答Variance trick with path-dependent types
Here\'s another one for implicits and path dependent types. I don\'t understand why I need to be so verbose here: (Note -- I found the answer, see below)[详细]
2023-02-22 05:39 分类:问答Scala abstract path dependent type problem part 2
Couple of questions on scala abstract types. Do I have to use parameterized [] types if I want to use the type in a constructor value? ie. is it possible to have a class with abstract constructor pa[详细]
2023-01-09 07:57 分类:问答Scala abstract path dependent type problem
Does anyone know what\'s going on here with this compiler error? The error goes away if I don\'t extend INode.[详细]
2023-01-09 07:15 分类:问答Hibernate in Netbeans Application
How do I开发者_开发问答 configure hibernate in a NetBeans application? Using Hibernate in a Web Application[详细]
2022-12-20 22:59 分类:问答