unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: taylanbayirli@gmail.com ("Taylan Ulrich Bayırlı/Kammer")
To: 22447@debbugs.gnu.org
Subject: bug#22447: (rnrs hashtables): Mutation of immutable hashtable ignored
Date: Sat, 23 Jan 2016 22:19:49 +0100	[thread overview]
Message-ID: <87zivwj8ne.fsf@T420.taylan> (raw)

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





             reply	other threads:[~2016-01-23 21:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23 21:19 "Taylan Ulrich Bayırlı/Kammer" [this message]
2016-01-23 23:19 ` bug#22447: (rnrs hashtables): Mutation of immutable hashtable ignored 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zivwj8ne.fsf@T420.taylan \
    --to=taylanbayirli@gmail.com \
    --cc=22447@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).