guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

head array-map! type check


From: Kevin Ryde
Subject: head array-map! type check
Date: Thu, 16 Dec 2004 10:13:51 +1100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Running

    (array-map! (make-array 99 5) noop (make-array 99 5) (make-array 99 5))

Gives

    Backtrace:
    In current input:
       3: 0* [array-map! #(99 99 99 ...) #<primitive-procedure noop> ...]

    <unnamed port>:3:1: In procedure array-map! in expression (array-map! 
(make-array 99 5) noop ...):
    <unnamed port>:3:1: Wrong type (expecting uniform vector): #(#(99 99 99 99 
99))
ABORT: (wrong-type-arg)

Is there a good reason for this, or has some type checking gone
astray?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]