From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3214 invoked from network); 4 Jan 2021 06:17:35 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Jan 2021 06:17:35 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609741055; b=ilvlMLbmplXZADKI4MoSelp1xVvc/ZrE85YMXf/s0Eq7H0gRHQXk6biiyLUFELOu8UH4jQsPtc 9tLscl8z4CfXkNnj7UlQC7hRPf6PZ+FxQZ6gYuvqneOAOx6r20xNONj8QLyTWsn9zw6QOOU14u KOE1VX6f7AOTmSOdu6+tRPWF3T5xShqbww20DkrgzTX7frOEow+Vvk6MrX1/7Fk5FukI0lu9wS KNZewvL0KZiU+BWCUApIitv5wtTLjWSoVCaBF1g5gWOKkAVIzDd37jQn2cep3mu5Ij+5xh9L5U qzTPT6fn2Hhf+jkdCGQ+WlRyb86ixSFaKj4vSHQq2ICv1w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609741055; bh=Og48s9Rm4S2BKDx2A02ZhuncHvFc9Z58+iOSUSnkJCo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=Wk7r/jQaLyg2O2T8gKUr2A3o34fWVsJliq0cly1Kfl+pKOeR7AN8FybqKKSRJ2IvxIHZOmM6Ev kBHCvV/KO+TTpFXianI3uaYWNugzirNfLbrlnGOR4Qj7WDJZN2GazUeyDdUm3kNzifn/oD1Wga yy1aaA5E+27OHk2zO/7we0LoC5i/OeRonPBIKr5aTnajK3T4B5udqzxlBabZWE4ZsmlprWizAX Y2XAlpaPlCYnuRxR7erUMl3uZ9d+ze1hq/qPPC+NoKe17QeXedEmcbWyNN3TxJLYKnqyiDzwnf 9/xlgDIItUTDxx1IKEfKtEnAttsJpJieGYJryJeGNucpmw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=NyuqRN8AvhKlS1UnMm/5ZfUIHRDe6Z0WCD9vhuQ9ajc=; b=U7U3EUfH77VpUxp58SnY1o9uxP PkF59hZz0Qt0gaPGwGlP2iDe22GU7YDTEm58y9e7izmfctXd2Ta+aUZBDt9uwC3x5A05lSju4JbxF whZDnaqlDlw1w7YrbgvrqkJ4Cv5dxbzs9YbzpPOaEcqO8sgePLIY8HoPQPEEzoe58/W8BRl9KWwDF PP5wuuboacB0yBbgbYrQjcC1r1m3zF23j2ddnGiSpzWiXYKkQSUYKrVYhtw2C/xtlte1kqDCbTcXZ bc4dz2aG8xCIFir2WYlq1m1VN9Uv7JY5IY8Wv/5v+OOcTWyKRrZB7psPfpAGFTWe0uJWnmzU4IBGt Mr6nnAlQ==; Received: from authenticated user by zero.zsh.org with local id 1kwJBP-000AVP-9K; Mon, 04 Jan 2021 06:17:35 +0000 Authentication-Results: zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33785) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kwJBB-000AMY-Iy; Mon, 04 Jan 2021 06:17:22 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DD9275C008E; Mon, 4 Jan 2021 01:17:20 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 04 Jan 2021 01:17:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm2; bh=NyuqRN8AvhKlS1UnMm/5ZfUIHRDe6Z0WCD9vhuQ9 ajc=; b=TrCJ8YI3Dqt938kwwCN7s+hY5qzYu9cIo2wOS9/Bka8j01tM6vk20TJ4 Uhq/9csQodISvGfDykgfN5o0ESTU0m91yzkSCmSxDo4W2ICpsXb+vA8g6QIlfR0d 1fwtz6TkAZDCsmYByWFPq32rVJuix2Il889bLsDh3Ue4okBFNYjT7haNyrUqnWA4 lrs0xfTowG1ZpKTMgqbmlBNl6o9E+bushqpqqAOc0V/zdCbbcYdkNhtnLgEtvr9v x5UtpSvFjy9E34QV9W2q1pQtOA2QaT+tkiruB0O8/bjf76uG9F5r6nAwpF2j6CMN aoRadMa2n5M3F3hZqPRFFAhN6A8uug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NyuqRN8AvhKlS1UnMm/5ZfUIHRDe6Z0WCD9vhuQ9a jc=; b=Rf1SPqCq7odfTvvm2d7VH+rv+DJrPBvxs1yTYTNmwW7WptguwpgHEYY46 74ijGKf+h5Rz65egowRYy8g4P8T/WIKcQ1jAZ+7rlVLo4beL8h8UmCqOnCCCIaWZ 4wXKdXT6vkkwEz7btA63odNHVpMjv80I8LcqcsbM4cukxXdBQUM8e1Oxl79gszd2 fEPVmY0aaI9XMiHZe7QyboOhi5mMw/xzgQNBzC8MDSy9Xq6ZoGs1m/qG+rlPMHNw /tt8zodF904bynSlNbGG4wMVuWUe94eSox+WMwUQct8MNqg4Xayzr5Lrsue/wqLD qGt1D0duUioKpuVmZhAZp/6doVwgQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefvddgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjfgesth ektddttderudenucfhrhhomhepffgrnhhivghlucfuhhgrhhgrfhcuoegurdhssegurghn ihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepgfelhedtffeuhf egueelfeffjeegtddtleehvddvueeihfevgfdvgffhvedvkeetnecukfhppedutdelrdei iedrkeegrdduheelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-109-66-84-159.red.bezeqint.net [109.66.84.159]) by mail.messagingengine.com (Postfix) with ESMTPA id 8072B24005A for ; Mon, 4 Jan 2021 01:17:20 -0500 (EST) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1005) id 4D8QQQ6tRbz30Z; Mon, 4 Jan 2021 06:17:18 +0000 (UTC) Date: Mon, 4 Jan 2021 06:17:18 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: [PATCH] declarednull: rename DECLARED to NULL Message-ID: <20210104061718.GB14783@tarpaulin.shahaf.local2> References: <20201228221342.136199-1-felipe.contreras@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 47796 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Bart Schaefer wrote on Sun, Jan 03, 2021 at 10:26:48 -0800: > No, that's not it. I'm trying to find a word that describes the STATE > of the variable, independent of its value. It happens that the "spec" > that we're importing from posix-ish shells means that this particular > state is always paired with the state of "unset-ness" but regardless > of your arguments of functional equivalence, neither of these states > is an actual value of NULL. Could you summarize the bits that need to be named and the corresponding shell language incantations/semantics? Is this anything like using «struct foo **p» in C to denote a single parameter that has three possible states: . (!p) (p && !*p) (p && *p) > > So It seems your code and my code agree with the behavior of both A > > and B. The only unknown is what A and B mean. > > > > Agreed? > > Yes, although I would not say "unknown". More like "unnamed". Also, > your script doesn't observe that "current zsh: B(on)" does not mean > the same thing that "patched zsh: B(on)" means (at least for my patch > and I think for yours). >