13 ms·
So expected is import and actual is export in unit module parlance?
by seanmcdirmid 9y ago
So expected is import and actual is export in unit module parlance?
- yole 9y agoIt's a bit different from a regular export/import relationship. An exported declaration is usually made visible to an unlimited number of clients, and an actual declaration matches a single specific expect declaration.
- seanmcdirmid 9y agoThat’s why I said units, as in program units (Flatt, Findler, etc...). I added a module system to java that did the same thing using light bytecode rewriting in the linking step (kotlin seems to do structural matching, but doesn’t have a reconfigurable linker I guess); https://dl.acm.org/citation.cfm?id=504311.504298 https://dl.acm.org/citation.cfm?id=504311.504298.