From: Kevin Ryde <user42@zip.com.au>
Cc: guile-devel@gnu.org
Subject: Re: equal? on arrays
Date: Wed, 29 Mar 2006 11:42:09 +1100 [thread overview]
Message-ID: <87r74mytcu.fsf@zip.com.au> (raw)
In-Reply-To: <8764m2s3vo.fsf@minimini.mvo.home> (Marius Vollmer's message of "25 Mar 2006 21:47:39 +0200")
Marius Vollmer <mvo@zagadka.de> writes:
>
> It should clearly be possible to use equal? with all kinds of arrays.
> If this isn't the case, we would need to fix.
Eg, picking out a diagonal with a shared array:
(equal? (make-shared-array #2((a b c) (d e f) (g h i))
(lambda (i) (list i i))
'(0 2))
#(a e i))
=> #f
but with array-equal? it's #t.
It was this way in guile 1.6 too, but never really documented under
equal?, unless you know or thought a shared array is not really an
array.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2006-03-29 0:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-07 20:57 equal? on arrays Kevin Ryde
2006-03-25 19:47 ` Marius Vollmer
2006-03-29 0:42 ` Kevin Ryde [this message]
2006-05-29 21:15 ` Marius Vollmer
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=87r74mytcu.fsf@zip.com.au \
--to=user42@zip.com.au \
--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).