User loginNavigation |
Are first-class environments enough?Everyone (e.g. in the LtU discussion back from 2010) seems to assume that first-class environments in a Scheme-like lexically scoped language are sufficient to implement all known module systems and then some. Still, it strikes me that implementing renaming of imported bindings (R[67]RS and Chicken There are suggestions that MIT Scheme indeed implements its module system using environments, but I couldn’t really understand how (and whether) it handles this issue. The description in the Kernel language report is the best reference I could get on the topic. Finally, note that this question is orthogonal to whether mutating exported bindings is a good thing to do from the stylistic point of view. If a language has mutability and a module system, it’d better be consistent in how they interact — a negative example here being the behaviour of bindings created with By Alex Shpilkin at 2013-06-21 16:02 | LtU Forum | previous forum topic | next forum topic | other blogs | 7841 reads
|
Browse archives
Active forum topics |
Recent comments
18 hours 56 min ago
19 hours 11 min ago
5 days 19 hours ago
5 days 20 hours ago
5 days 20 hours ago
3 weeks 6 days ago
4 weeks 4 days ago
4 weeks 5 days ago
4 weeks 6 days ago
4 weeks 6 days ago