Luke Palmer wrote:
Ooh!  And I came up with a good identity operator!  :== (or =:= if you
like symmetry).  There's a beautiful parallel with := .

    $a = $b;
    $a == $b;   # is always true

    $a := $b;
    $a :== $b;  # is always true
   ($a =:= $b;  # looks a little better)

While we're rehashing old ideas, I'll take this opportunity to reference a previous idea:


http://archive.develooper.com/[EMAIL PROTECTED]/msg13028.html

The =:= operator is cute, but it doesn't provide much scope to extend onto the infinite varieties of comparison that can be dreamt up. "eq:id" is much easier to generalize/extend.


Dave. -- http://dave.whipp.name



Reply via email to