Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Another push on declarednull branch
- X-seq: zsh-workers 47772
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Felipe Contreras <felipe.contreras@xxxxxxxxx>
- Subject: Re: Another push on declarednull branch
- Date: Mon, 28 Dec 2020 12:53:55 -0800
- Archived-at: <https://zsh.org/workers/47772>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-12/CAH%2Bw%3D7a9P0%2BnpTgJCzzF1eFt2KFjXNs%2BfL1K7CFRYiBFEEQTog%40mail.gmail.com>
- Authentication-results: zsh.org; iprev=pass (mail-oi1-f179.google.com) smtp.remote-ip=209.85.167.179; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eMm9hYBU+whvG8yMl65aocl0Ro9vY5QWi2kCeQBJaEo=; b=LC8w5uSZGcDFea8D2KT6GxvWwAS3pQPbjvaOyWDFablRLqwkZgKh4DECFy4HXAErX/ ENIsBbTQ4TF+2vmSwMJ8+ycfc1zQ7uoJf7feH2Q+ogqC2E35M6kQUmbvfd5v7FkLcThd ZeC7L3+BpY9V+Qqtgfdzax9bQ3x5NXRga9jxVjEEXWtw+JTqq3jLmV5ejcRA70diEkpp PwxBn+95+OUw2aRglFunDkCH8yxWF9xAmysZC98p+2vUO7dD6S6QEmcFCjZFruU0NzB6 joqLiWfSU3LwKC+ymqbJK7ostJkE9mjgAhf4nHqDN0IDSCjf+rt0JnHbQHuHpUhUbqrb OcJQ==
- In-reply-to: <CAMP44s02TKNRHr6x5=noKsvxkKKtvUbdDb40_usfOzgn-Gnmbw@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <20201223234711.492603-1-felipe.contreras@gmail.com> <CAH+w=7ayKmgc3qPWLr8+NHLCmmhcQxo+n=cAO3pyriTjsNpTQQ@mail.gmail.com> <CAMP44s02TKNRHr6x5=noKsvxkKKtvUbdDb40_usfOzgn-Gnmbw@mail.gmail.com>
- Sender: zsh-workers-request@xxxxxxx
On Mon, Dec 28, 2020 at 12:23 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
>
> On Sun, Dec 27, 2020 at 5:05 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > Alternate names for PM_DECLARED would be welcome. If I could turn
> > back time, I might use PM_NOTSET, and then PM_NULL ==
> > (PM_NOTSET|PM_UNSET).
>
> However, I'm still not sure if those values make sense.
>
> typeset var
> unset var
>
> In this case PM_UNSET is true, but PM_NOTSET is false. Why? No value
> was ever assigned.
Would it make more sense as PM_IMPLICIT, so PM_NULL = (PM_IMPLICIT|PM_UNSET)?
Naming is often a hard problem. Speaking of which:
> It's Felipe BTW.
Apologies. As someone who is often Burt/Bert/Bret/Brat, I know the annoyance.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author