>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

Reply via email to