unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Damien Mattei <damien.mattei@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: guile array different than srfi 25
Date: Tue, 11 Jan 2022 12:19:34 +0100	[thread overview]
Message-ID: <CADEOade6LMGomVES0USRAcML24JfmTtx=0CZMc_2nyw9TSQh4A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

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 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

[-- Attachment #2: Type: text/html, Size: 1375 bytes --]

             reply	other threads:[~2022-01-11 11:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11 11:19 Damien Mattei [this message]
2022-01-11 17:22 ` guile array different than srfi 25 lloda
     [not found]   ` <CADEOade=fcRVnKrHdUpCUUcJKQGW1m-fZo1WEz3xkcVn3NL8RA@mail.gmail.com>
2022-01-11 20:34     ` Fwd: " Damien Mattei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADEOade6LMGomVES0USRAcML24JfmTtx=0CZMc_2nyw9TSQh4A@mail.gmail.com' \
    --to=damien.mattei@gmail.com \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).