HaloO,

[EMAIL PROTECTED] wrote:
    $_      $x        Type of Match Implied    Matching Code
    ======  =====     =====================    =============
+   Set     Set       members identical        match if $_ === $x
> +   Array   Set       array equivalent to set  match if Set($_) === $x

Isn't it better to define these in terms of Bags? I mean with
Bag a supertype of Set the dispatch should go to cases &infix<===>:(Bag,Bag), &infix<===>:(Bag,Set), &infix<===>:(Set,Bag)
and &infix<===>:(Set,Set).

Regards, TSa.
--

Reply via email to