develooper Front page | perl.perl6.language | Postings from May 2005

Re: junctions vs English negatives.

Thread Previous | Thread Next
From:
Ashley Winters
Date:
May 15, 2005 15:56
Subject:
Re: junctions vs English negatives.
Message ID:
cda42dbb05051515551d433521@mail.gmail.com
On 5/15/05, Luke Palmer <lrpalmer@gmail.com> wrote:
>     multi sub infix:<!=> (Any|Junction $a, Any|Junction $b) {
>         !($a == $b);
>     }
> 
> Then it Just Works.

Also, that's the right way to provide a working != for any object
which defines ==. We all want that, right?

Ashley Winters

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About