zsh-users
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-users@sunsite.auc.dk
Subject: Re: Features of rc and es to zsh
Date: Fri, 21 Jul 2000 09:33:57 +0200 (MET DST)	[thread overview]
Message-ID: <200007210733.JAA12787@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Zefram's message of Thu, 20 Jul 2000 23:32:41 +0100 (BST)


Zefram wrote:

> ...
> 
> >Lexically scoped variables     N    N    Y
> 
> This could be done only in a very limited form.  The concepts that give
> lexical scoping are quite alien to Bourne-style shells, and, while some
> of them could be added, without a concept of function objects the utility
> of lexical scoping would be minimal.
> 
> I think the most minimal version of lexical variables -- declared
> variables that become invisible to called functions -- would be useful in
> itself, and reasonably feasible to implement.  Closures (and the nested
> scopes they imply) would be too big a change.

Of course that would be interesting and we already discussed it. And I 
think one day we will have it... maybe we should have added it when we 
started with the new completion system, where it would be very useful
and would have prevented some bugs. Oh well.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2000-07-21  7:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-21  7:33 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-07-20 21:59 Juhapekka Tolvanen
2000-07-20 22:32 ` Zefram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200007210733.JAA12787@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).