logo       

head array-map! type check: msg#00058

lisp.guile.devel

Subject: head array-map! type check

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?


_______________________________________________
Guile-devel mailing list
Guile-devel@xxxxxxx
http://lists.gnu.org/mailman/listinfo/guile-devel



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise