guile-devel
[Top][All Lists]
Advanced

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

guile array different than srfi 25


From: Damien Mattei
Subject: guile array different than srfi 25
Date: Tue, 11 Jan 2022 12:19:34 +0100

hello,

why guile array differs from SRFI 25:
make-array syntax :
 https://www.gnu.org/software/guile/manual/html_node/Array-Procedures.html

(make-array 'ho 2 3) ⇒ #2((ho ho ho) (ho ho ho))


different than srfi 25:

https://srfi.schemers.org/srfi-25/srfi-25.html

(make-array shape obj)
Returns a newly allocated array whose shape is given by shape. If obj is provided, then each element is initialized to it. Otherwise the initial contents of each element is unspecified. The array does not retain a dependence to shape.

it creates incompatibilties in code .

Damien

reply via email to

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