Closed InnPatron closed 6 years ago
See #1015 and https://github.com/brownplt/pyret-lang/wiki/TM005---More-structured-module-system,-to-facilitate-data,-renaming,-bringing-identifiers-into-local-scope Public should not be the default, but it should definitely be easier to export just the things you actually want.
I'm going to close this issue as largely a duplicate of those other two links. Despite their age, this is indeed an important issue for us to address!
While programming in Pyret, I have found that using provide statements was awkward. At the time, it was possibly undocumented and the syntax differed between provide and provide-types.
Furthermore a quick grep through the compiler source shows that almost all instances of provide statements use the wildcard.
This hints at a few things:
My main goals of opening up this issue are:
My take: