[r6rs-discuss] [Formal] procedures passed to make-hash-table should not mutate the hash table

From: Daniel Villeneuve <daniel_villeneuve>
Date: Thu Feb 22 01:45:51 2007

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
submitter's name: Daniel Villeneuve
submitter's email address: daniel_villeneuve_at_sympatico.ca
type of issue: Enhancement
priority: Minor
R6RS component: Hash Tables
version of the report: 5.92
SUMMARY
The callback functions passed to make-hash-table should not mutate the hash
table they're invoked on.
DESCRIPTION
I think this is evident, though it is not clearly stated in
the spec (p. 51, Constructors).
PROPOSAL
Add "The <hash-function> and <equiv> procedures must not mutate the
hash-table they are invoked on.", similar to the spec of map.
--
Daniel Villeneuve
Received on Tue Feb 20 2007 - 20:45:23 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC