From: Marius Vollmer <mvo@zagadka.ping.de>
Cc: tomas@fabula.de, guile-devel@gnu.org, guile-user@gnu.org,
bug-guile@gnu.org
Subject: Re: Strange behaviour of array?
Date: 17 Nov 2002 16:29:35 +0100 [thread overview]
Message-ID: <87smy0nrj4.fsf@zagadka.ping.de> (raw)
In-Reply-To: <20021115021213.B12469@kiwi.pyrotechnics.com>
Christopher Cramer <crayc@pyro.net> writes:
> I distinctly remember sending a patch to fix this to either bug-guile or
> guile-devel a loooong time ago, but I can't find it in the archives. I'm
> surprised it's not fixed in 1.6.0, but maybe it's because I never sent
> the patch in...
I'm hesitant to just apply this patch. The 'array' stuff in Guile is
quite obscure, in my view, and fixing it piecewise does not seem to be
a good idea, given its (appearant) brittleness. For example, with
your patch,
guile> (array? "foo")
#f
but
guile> (array-ref "foo" 0)
#\f
which is inconsistent. On the other hand, we have now
guile> (array? 'foo)
#t
but
guile> (array-ref 'foo 0)
Wrong type argument in position 1: foo
which is also inconsistent.
The whole array stuff needs to be looked over, with SRFI-4 in mind.
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile
prev parent reply other threads:[~2002-11-17 15:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-05 11:57 Strange behaviour of array? tomas
2002-11-15 8:12 ` Christopher Cramer
2002-11-15 8:46 ` tomas
2002-11-17 15:29 ` Marius Vollmer [this message]
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=87smy0nrj4.fsf@zagadka.ping.de \
--to=mvo@zagadka.ping.de \
--cc=bug-guile@gnu.org \
--cc=guile-devel@gnu.org \
--cc=guile-user@gnu.org \
--cc=tomas@fabula.de \
/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).