From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.devel Subject: guile array different than srfi 25 Date: Tue, 11 Jan 2022 12:19:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005bec2b05d54ca189" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13813"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Jan 11 12:19:59 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7FC3-0003S4-QL for guile-devel@m.gmane-mx.org; Tue, 11 Jan 2022 12:19:59 +0100 Original-Received: from localhost ([::1]:44136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7FC2-0000dv-QZ for guile-devel@m.gmane-mx.org; Tue, 11 Jan 2022 06:19:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7FBs-0000dI-9W for guile-devel@gnu.org; Tue, 11 Jan 2022 06:19:48 -0500 Original-Received: from [2607:f8b0:4864:20::b2e] (port=38690 helo=mail-yb1-xb2e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7FBq-0003wg-Nm for guile-devel@gnu.org; Tue, 11 Jan 2022 06:19:47 -0500 Original-Received: by mail-yb1-xb2e.google.com with SMTP id d7so13312844ybo.5 for ; Tue, 11 Jan 2022 03:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=2UHrYK4c52FHZCKc7RiDjXHHk4nAFezwIuw1ZuAja+A=; b=GAj/wgrqeF723DIw68oPpCiEyCbkLD1/a/3bsV7rgYo92bz8fQ6TSpycJehfnrvR5+ R/EWt4vuO+mulZIMvArof9nM21+dcj9w+6oB89uuVATMIV++hawtX/D0gvEsbviWgC8R wy1QH4bAdEv7t5LI6YoaGlxKWbE76R1mcfJmz1RaY/mxY0WxUJjw75ackwp/GKYyW0zH 53wxUFCK3qxLxUz2uicFaBEKN5b7evO9WJbGaXBCOb5DCsVzrzlXZqzqTk+DTb/Rbier OJEhv1F1Be6ihZXuQp2pxGwPtIAC8uErAguJeThSv3CKmH/nhJqH6M9IBV8g/hEYr7qa IK7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2UHrYK4c52FHZCKc7RiDjXHHk4nAFezwIuw1ZuAja+A=; b=tAbwvHS1AHQrIwH5O8RtHM/kgPnpEp0rwAfh7OOrhnpsTVxcW0b9qk5JdRUpER7PyP KmCfmLIaUOfrmTQ4b2mzyPACr/VZgfvlzg7eJfihbLhkHymeR8gdOoKE6nm2bnIN6zaT DT16J848hHjEMPk80dD6HPomE4gtDxGtNL8x+HQuTNwUy5JYsFrYFIjWCNcjmIICElX2 NT7LUqyyGNaH5zTictI7MLkM9qXUqzXxZWjt6Vf6jYt3gpWSofxoScLjPAdbyoDT47VY G36LgP33W5XFFZDoyFe9VonYsefSwC86wa6q3fqxg2BSEClgTEqrQZNfz6l9op7z5uAf XNSA== X-Gm-Message-State: AOAM531bl/nSPiSRVxNH08FmnhqBQVAa8cCuR9wDew4RCoCzmrwEUfzO lp3UjX3za5AqKoiEzCVSajTnUxVkd9YdJiGj14aFjYtYn+0= X-Google-Smtp-Source: ABdhPJxVshOI0sEvtHkLo+t7ai9vOIYqjsJV+0SbYaJmg4sX0XIYP//S3dubMEYQAgKiFqaR4FF9t4Xd2YjctAkljm0= X-Received: by 2002:a25:3814:: with SMTP id f20mr5399273yba.81.1641899984939; Tue, 11 Jan 2022 03:19:44 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b2e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b2e; envelope-from=damien.mattei@gmail.com; helo=mail-yb1-xb2e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21028 Archived-At: --0000000000005bec2b05d54ca189 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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) =E2=87=92 #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 byshape. 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 toshape. it creates incompatibilties in code . Damien --0000000000005bec2b05d54ca189 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hel= lo,

<= div class=3D"gmail_default" style=3D"font-size:large">why guile array diffe= rs from SRFI 25:
make-array syntax :

(make-array 'ho 2 3) =E2=87=92 #2((ho ho ho) (=
ho ho ho))


different than srfi 25:

https://srfi.schemers.o= rg/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 .<=
br>
Damien
--0000000000005bec2b05d54ca189--