xsl-list
[Top] [All Lists]

Re: [xsl] except (was: Keys with duplicates should be simple)

2014-02-03 01:18:22
If indeed except is equivalent to the set-theoretic difference
operator would it be beyond the pale to admit difference into the
syntax as a synonym for except.

Is it that different to the situation with || and concat?

On Mon, Feb 3, 2014 at 6:40 AM, Michael Kay <mike(_at_)saxonica(_dot_)com> 
wrote:

I don't want to have to read the spec to verify that except is in
fact a set difference operator so I'd just rather not use it.


I'm afraid that when people write code purely by trial and error, there's not 
much we can do to help them.

We do try in the language design to avoid surprises, but we don't try to make 
it possible to write code by guessing the function names and operator symbols.

Michael Kay
Saxonica


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>