unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* read syntax vectors immutable
@ 2017-06-22  9:04 j kalbhenn
  2017-06-22 16:44 ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: j kalbhenn @ 2017-06-22  9:04 UTC (permalink / raw)
  To: guile-user

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.



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

end of thread, other threads:[~2017-06-23  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-22  9:04 read syntax vectors immutable j kalbhenn
2017-06-22 16:44 ` Mark H Weaver
2017-06-22 16:57   ` Mark H Weaver
2017-06-23  9:24   ` j kalbhenn

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).