[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] except (was: Keys with duplicates should be simple)
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Mon, 3 Feb 2014 07:18:07 +0000

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@xxxxxxxxxxxx> 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


Current Thread