DRAFT: Names spec

Mark S. Miller erights at google.com
Wed Apr 16 17:41:21 PDT 2008


2008/4/6 Jeff Dyer <jodyer at adobe.com>:


> Every unforgeable namespace is considered non-equal to every other
> namespace.
>
> *Implementation*
>
> fun compareNamespaces (n1: NAMESPACE, n2: NAMESPACE) : bool =
case (n1, n2) of
(ForgeableNamespace s1, ForgeableNamespace s2) => s1 = s2
| _ => false

In ES3, NaN is the only value that isn't reflexive, i.e., for which x != x
or x !== x. Does this spec propose that unforgeable namespaces are also
non-reflexive?

-- 
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080416/5fc6ae33/attachment-0002.html 


More information about the Es4-discuss mailing list