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 512: Parameters should be used instead of proliferating names

2013-07-07 03:20:44
WG1 - Core
alexshinn
major
cowan
wontfix
source
closed
2013-05-13 08:29:17
defect

Aaron Hsu writes:

The standard has, as a whole, favored the introduction of new procedure names to handle new options for procedures that do effectively the same thing. In some cases this makes a bit of sense, as it would be unwieldy to do otherwise. However, there are other places where this does not make sense, and in particular, places where parameters, which we provide, could more readily be used. These places include procedures that provide behavior which is inherently dangerous and ought not to receive a full procedure name. The write procedures come to mind. The include and include-ci forms also come to mind. Adding more names doesn’t scale well, and I think we’ve gone wrong here.

Au contraire. If that were done, the only way to call write with predictable results would be by always wrapping it in a parameterize form, which is longer, less clear, and more error-prone (what happens when you set the parameter to a meaningless value?) The reference to include and include-ci is misconceived: syntax forms are not affected by the state of (run-time) parameter objects, and without low-level macros there are no such objects at compile time.

resolutionwontfix
statusnewclosed

The WG decided by unanimous consent to take no action on this ticket.