From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Subject: Re: Uniform vectors, user survey
Date: Fri, 05 Nov 2004 18:01:39 +0100 [thread overview]
Message-ID: <lj654knsb0.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <lju0s5o689.fsf@troy.dt.e-technik.uni-dortmund.de> (Marius Vollmer's message of "Thu, 04 Nov 2004 18:48:38 +0100")
Marius Vollmer <marius.vollmer@uni-dortmund.de> writes:
> - vector? will be true for all zero-origin, one-dimensional arrays,
I will not do this right away, since I can't really convince myself
that this is the Right Thing.
There will first be vectors, strings, bit vectors, and uniform numeric
vectors; and all will be disjoint. Together, they might be called
'generalized vector types'.
Then there will be arrays, which will include all the generalized
vector types, and more (such as non-zero origin 'vectors', and
multi-dimensional arrays.) Arrays can use any one of the generalized
vector types for their storage, and the array procedures will work
with strict arrays and with any of the generalized vector types.
[ Incidentally, vector-length, vector-ref, and vector-set are
primitive generics right now, and one can thus add methods to them
for new types. But vector? remains unaffected by that, and of
course the existing C API will not work with these extended vector
types...
]
Later we might want to arrange the genralized vector types
differently.
OK?
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2004-11-05 17:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 14:19 Uniform vectors, user survey Marius Vollmer
2004-10-23 14:02 ` Neil Jerram
2004-10-24 16:04 ` Mikael Djurfeldt
2004-10-25 18:08 ` Stephen Compall
2004-10-25 18:34 ` Peter Christopher
2004-10-25 19:51 ` Ludovic Courtès
2004-10-25 22:00 ` Mike Gran
2004-10-26 2:50 ` Steve Tell
2004-11-04 17:48 ` Marius Vollmer
2004-11-05 17:01 ` Marius Vollmer [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-10-26 3:03 Roland Orre
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=lj654knsb0.fsf@troy.dt.e-technik.uni-dortmund.de \
--to=marius.vollmer@uni-dortmund.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).