>I don't care about keys when I'm working with sets, and I don't want to
>have to deal with them.
>Then, if when implementing these new functions in perl6 you choose to
>use an invisible hash table, ok, I don't care, but when writing my perl
>script I don't want to deal with hash tables for arrays/sets. I want a
>natural syntax, which is not necesseraly the point of view of a
>compilator developper.
I fail to understand how your mind is mapping "sets" into "arrays".
Please enumerate the properties of a set in which you are interested.
You will see, I believe, that these are aspects of *hashes* not of
arrays.
Arrays are ordered.
Hashes are not.
Neither are sets.
Arrays can have repetitions.
Hashes can not.
Neither can sets.
etc.
--tom
- RFC 179 (v1) More functions from set theory to manipul... Perl6 RFC Librarian
- Re: RFC 179 (v1) More functions from set theory t... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theory t... Michael Maraist
- Re: RFC 179 (v1) More functions from set theo... Tom Christiansen
- Re: RFC 179 (v1) More functions from set theo... Gael Pegliasco
- Re: RFC 179 (v1) More functions from set ... Jeremy Howard
- Re: RFC 179 (v1) More functions from ... Gael Pegliasco
- Re: RFC 179 (v1) More functions ... Tom Christiansen
- Re: RFC 179 (v1) More functi... Tom Christiansen
- Re: RFC 179 (v1) More fu... Gael Pegliasco
- Re: RFC 179 (v1) More fu... Buddha Buck
- Re: RFC 179 (v1) More fu... John Porter
- Re: RFC 179 (v1) More fu... Tom Christiansen
- proto-RFC: keys(HASH) as... John Porter
- Re: proto-RFC: keys(HASH... Tom Christiansen
- Re: proto-RFC: keys(HASH... Bart Lateur
- Re: proto-RFC: keys(HASH... John Porter
- Re: RFC 179 (v1) More fu... Johan Vromans
