From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE6721381F3 for ; Wed, 24 Jul 2013 15:26:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7D40E0A45; Wed, 24 Jul 2013 15:26:39 +0000 (UTC) Received: from mail2.viabit.com (mail2.viabit.com [65.246.80.16]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CCF6E09EC for ; Wed, 24 Jul 2013 15:26:38 +0000 (UTC) Received: from [172.17.29.6] (vpn1.metro-data.com [65.213.236.242]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.viabit.com (Postfix) with ESMTPSA id 3c0gQ55lbhz1hgH for ; Wed, 24 Jul 2013 11:26:37 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=orlitzky.com; s=mail2; t=1374679597; bh=oCJ+GI9NjJmPGkCijAZBvIsxNI4kzheZBrJE60t/XlQ=; h=Date:From:To:Subject:References:In-Reply-To; b=CAI4rr6RQnQDNOXY9kMnongBH+D9lZprKzI/FfVHcuvZxSPpu6c8Gr1hvD4/9Ih+I D9ljIc5GeAHoMa8535yUEAhAzYSYMq6dRG5hnC4oeFXc3Z1hQE4xNvqsJ3zvsHaMAM 620OSFEudgGFIETjos8nylr0gkEQV0R8ezKogpjA= Message-ID: <51EFF22C.30006@orlitzky.com> Date: Wed, 24 Jul 2013 11:26:36 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130607 Thunderbird/17.0.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Portage 2.2 References: <20130724111708.447eaa91@hactar.digimed.co.uk> <51EFB0A3.9070309@gmail.com> <20130724142017.1ff14d7d@hactar.digimed.co.uk> <51EFD62B.60107@gmail.com> In-Reply-To: <51EFD62B.60107@gmail.com> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 8f04611e-85a6-4e8f-bf3b-8749d47e8b78 X-Archives-Hash: 6e8fd205c7bdbece2b146a1f7a005c2e On 07/24/2013 09:27 AM, Alan McKinnon wrote: > > I think it's the former. But I've been known to be wrong on things > (lately, more often than not...) > > Just looked on The Google, and there's no consensus I can find. Best > advice seems to be that union and difference are equal precedence so the > expression is evaluated left to right. > > Hence it's the former :-) You can rewrite (A \\ B) as (A && !B), giving you one less case to worry about. But, some people (most notably, programming languages) assign a higher priority to intersection (&&) than they do to union (||). Of course, mathematically, they should probably have the same priority, so many people do the left-to-right thing. So in practice, you'd better use parentheses if you want anyone to know WTF you're talking about.