unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#22447: (rnrs hashtables): Mutation of immutable hashtable ignored
@ 2016-01-23 21:19 "Taylan Ulrich Bayırlı/Kammer"
  2016-01-23 23:19 ` Taylan Ulrich Bayırlı/Kammer
  0 siblings, 1 reply; 5+ messages in thread
From: "Taylan Ulrich Bayırlı/Kammer" @ 2016-01-23 21:19 UTC (permalink / raw)
  To: 22447

I couldn't find explicit wording in R6RS on what should happen, but I
would generally expect an attempt to mutate an immutable object to
raise an error.  In Guile,

    (hashtable-set! (hashtable-copy (make-eq-hashtable)) 'foo 'bar)

is silently ignored.

Taylan





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-21  7:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-23 21:19 bug#22447: (rnrs hashtables): Mutation of immutable hashtable ignored "Taylan Ulrich Bayırlı/Kammer"
2016-01-23 23:19 ` Taylan Ulrich Bayırlı/Kammer
2016-01-24 11:44   ` Taylan Ulrich Bayırlı/Kammer
2016-06-20 22:33     ` Taylan Ulrich Bayırlı/Kammer
2016-06-21  7:47       ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).