unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: j kalbhenn <jkal@posteo.eu>
To: guile-user@gnu.org
Subject: read syntax vectors immutable
Date: Thu, 22 Jun 2017 09:04:58 +0000	[thread overview]
Message-ID: <20170622090458.GA15025@sph-desktop.fritz.box> (raw)

vectors created using read syntax are apparently immutable with guile 2.2.2:

--
(define a #(0))
(if (vector? a) (vector-set! a 0 1))

In procedure vector-set!: Wrong type argument in position 1 (expecting mutable vector): #(0)
--

is this documented somewhere in the guile manual or part of the scheme standard? i could not find anything about it.



             reply	other threads:[~2017-06-22  9:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-22  9:04 j kalbhenn [this message]
2017-06-22 16:44 ` read syntax vectors immutable Mark H Weaver
2017-06-22 16:57   ` Mark H Weaver
2017-06-23  9:24   ` j kalbhenn

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=20170622090458.GA15025@sph-desktop.fritz.box \
    --to=jkal@posteo.eu \
    --cc=guile-user@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).