Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh glitch
- X-seq: zsh-workers 37097
- From: Christian Neukirchen <chneukirchen@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: zsh glitch
- Date: Thu, 12 Nov 2015 16:48:13 +0100
- In-reply-to: <CAHYJk3S7oHyibz7iLKFuG8eTHhrVMWWiYEFDQnR1asw=1Y9nxw@mail.gmail.com> (Mikael Magnusson's message of "Tue, 10 Nov 2015 22:43:20 +0100")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAMzcTvN_JrZ4EcRbmV96ttwxsGhBQOZR8jJBoJ_rA2heN4w2Ng@mail.gmail.com> <CAHYJk3S7oHyibz7iLKFuG8eTHhrVMWWiYEFDQnR1asw=1Y9nxw@mail.gmail.com>
Mikael Magnusson <mikachu@xxxxxxxxx> writes:
> What you've done is define a function that looks like this
> ls() {
> ls
> }
> and then you call it, which causes an infinite recursion. This usually
> does not end well in any language.
Time to add tail-recursion to zsh!
--
Christian Neukirchen <chneukirchen@xxxxxxxxx> http://chneukirchen.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author