got error from defining a vector?
(define b #(4 0 -8 -5)) /usr/4.0b22/bin/gsc accumu.sc *** ERROR IN "/lfs/scheme/accumu.sc"@946.11 -- Ill-formed expression
Afficher les réponses par date
On 4/24/07, dillo gimp <dillogimp@gmail.com> wrote:
(define b #(4 0 -8 -5)) /usr/4.0b22/bin/gsc accumu.sc *** ERROR IN "/lfs/scheme/accumu.sc"@946.11 -- Ill-formed expression
Try (define b (vector 4 0 -8 -5)) You may want to use an appropriate homogeneous vector (s8vector, s16vector, etc.). --Jeff
On Apr 24, 2007, at 10:18 PM, dillo gimp wrote:
(define b #(4 0 -8 -5)) /usr/4.0b22/bin/gsc accumu.sc *** ERROR IN "/lfs/scheme/accumu.sc"@946.11 -- Ill-formed expression
Vectors are not self-quoting: [brad:~/Desktop/kiss_fft_v1_2_6/tools] lucier% gsc Gambit Version 4.0 beta 22
(define b '#(4 0 -8 -5)) b #(4 0 -8 -5)
participants (3)
-
Bradley Lucier -
dillo gimp -
Jeff Read