This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home.

Ticket 354: mutating exports

2012-04-05 09:39:20
WG1 - Core
alexshinn
major
alexshinn
wontfix
source
closed
2012-03-11 11:05:22
defect

We define mutating imports to be an error, however the standard currently says nothing about what happens when an exported binding is mutated from within the library where it's defined.

In many common library implementations there will be no effect (i.e. the import effectively gets a copy of the original), whereas in a namespace based implementation the change will be reflected, so a conservative approach is to add a note saying the result is unspecified.

statusnewdecided

The WG voted to reject this proposal and leave the validity of mutating exports unspecified.

resolutionwontfix
statusdecidedclosed