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 291: Require an error to be signalled if input files cannot be opened, no matter how

2012-10-05 12:45:43
WG1 - Core
cowan
major
cowan
fixed
source
closed
2011-10-01 20:38:32
defect

For with-input-from-file and call-with-input-file, R5RS just says that the file should exist. However, open-input-file requires an error to be signalled if the file cannot be opened, whether because it does not exist for some other reason like the lack of permissions. This inconsistency doesn't seem useful.

I propose changing with-input-from-file and call-with-input-file to also require an error to be signalled if the file cannot be opened. Every Scheme in my test suite, without exception, already implements this.

statusnewdecided

The WG voted to adopt this proposal.

owneralexshinncowan
statusdecidedwriting
resolutionfixed
statuswritingclosed