나는 Foundations of path dependent types을 읽습니다. 첫 번째 페이지에서 오른쪽 열에에이 기록됩니다타입 멤버가있는 객체 : 스칼라의 객체 대 모듈 시스템은 무엇입니까? (경로 종속 유형에 대한 2014 년 Odersky 논문을 이해하려고 시도 함)
Our motivation is twofold. First, we believe objects with type members are not fully understood. It is not clear what causes the complexity, which pieces of complexity are essential to the concept or accidental to a language implementation or calculus that tries to achieve something else. Second, we believe objects with type members are really useful. They can encode a variety of other, usually separate type system features. Most importantly, they unify concepts from object and module systems, by adding a notion of nominality to otherwise structural systems.
사람은 "개체 모듈 대"시스템이 무엇을 의미합니까/명확하게 설명 할 수 있을까요?
또는 일반적으로
,"they (objects with type members) unify concepts from object and module systems, by adding a notion of nominality to otherwise structural systems."
은 무엇을 의미합니까?
어떤 개념입니까? 어디에서?
개체 이름/값의 Nominality는 무엇입니까? 유형의 구조는 무엇입니까? 아니면 다른 방법으로?
여기서 유형 회원은 어디에 속합니까? 모듈 시스템에? 객체 시스템? 방법? 왜?
편집 :
방법이 통일 경로 의존적 유형과 어떤 관련이 있습니까? 나에게이 통일은 일어날 수 있다고 생각합니다 (타입 멤버가있는 객체). 그래? 예인 경우 어떻게합니까?
간단한 예를 들어 주시겠습니까? (즉 경로 의존적 유형의 모듈과 객체 시스템의 통합을 허용하는 대 우리는 경로 의존적 유형이하지 않는다면 왜 통일이 일어날 수 없을 것?)
편집 2 :
종이에서 :
To make any use of type members, programmers need a way to refer to them. This means that types must be able to refer to objects, i.e. contain terms that serve as static approximation of a set of dynamic objects. In other words, some level of dependent types is required; the usual notion is that of path-dependent types.
그래서 내 이해 지금까지 (예스퍼의 답변의 도움으로) :
는이상이 단락은 부분적으로 위의 몇 가지 질문에 대한 답변입니다. 주체는 유형 멤버가있는 객체를 갖고 그 객체가 동적/런타임에 의존하지만 유형이 정적 (컴파일 타임에 정의 됨)이기 때문에 유형 종속 멤버로 연결되는 객체가 작동하지 않기 때문에 해당 경로 종속 유형을 필요로하는 것 같습니다. 왜냐하면 그 타입 멤버가 컴파일 타임에 명확하게 정의되지 않기 때문이다.
경로 종속 형은 컴파일 타임에 유형 멤버로 이어지는 경로를 고정시킴으로써 (객체가 컴파일 시간에 이미 알려져 있거나 정의되어 있어야하므로) 경로가 객체를 통해 이동하더라도 컴파일 타임에 해당 객체가 이미 컴파일 타임에 고정되어 있다면 해당 유형 멤버도 컴파일 할 때 명확한 의미를 가질 수 있습니다.
추신 : PDF는 http://lampwww.epfl.ch/~amin/dot/fpdt.pdf에서도 다운로드 할 수 있습니다. – jhegedus