Front page | perl.perl6.internals |
Postings from February 2006
From: Bob Rogers
February 20, 2006 08:23
Message ID: email@example.com
From: Leopold Toetsch <firstname.lastname@example.org>
Date: Mon, 20 Feb 2006 14:55:03 +0100
*) I don't think that *BooleanArray should support:
set P0, 3.2
set P0, "foo"
set P0, P1
So I would need to do
set I1, P1
set P0, I1
in order to store the contents of a PMC into a boolean array? What do I
do if I don't know the type of the destination array when I am compiling
set N0, P
et al. I think, if you use a BooleanArray with compact storage you are
knowing why and don't need automatic conversion to/from float, string,
What do you think?
That would mean that I can't pass a boolean array to code that wants to
operate on a generic array, which seems limiting.
-- Bob Rogers