develooper Front page | perl.perl6.language | Postings from July 2006

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

Thread Previous | Thread Next
From:
Yuval Kogman
Date:
July 13, 2006 22:18
Subject:
Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained
Message ID:
20060714051739.GP19536@woobling.org
On Thu, Jul 13, 2006 at 12:50:19 -0700, Larry Wall wrote:
> On Thu, Jul 13, 2006 at 09:32:08PM +0300, Yuval Kogman wrote:
> : [1] My preferred ergonomics:
> : 
> : 	1. eqv goes away
> : 	2. what was eqv is renamed to ===
> : 	3. === becomes =:=, which has a "constant" feel to it
> : 	4. =:= is rarely useful IMHO, so you can just type
> : 	variable($x) =:= variable($y)
> 
> It is important for eqv to be alphabetic so we can have the functional
> form take an optional signature parameter to specify what is compared.

There's no contradiction, === could be an alias to eqv ;-)

-- 
  Yuval Kogman <nothingmuch@woobling.org>
http://nothingmuch.woobling.org  0xEBD27418


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