[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
read syntax vectors immutable
From: |
j kalbhenn |
Subject: |
read syntax vectors immutable |
Date: |
Thu, 22 Jun 2017 09:04:58 +0000 |
User-agent: |
Mutt/1.8.3 (2017-05-23) |
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.
- read syntax vectors immutable,
j kalbhenn <=