[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Lexical vs. dynamic: small examples?
From: |
Emanuel Berg |
Subject: |
Re: [External] : Re: Lexical vs. dynamic: small examples? |
Date: |
Sun, 15 Aug 2021 07:02:43 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> So I wonder again, why not just have two let, one "let-stay"
> (the variables stay so has to be used and/or passed
> explicitely), and "let-follow" (the variables follow
> everywhere the code goes within the let form).
Even better, let `let' be the lexical let.
Then the old dynamic let will be called "with-variables-as".
So this
(let ((x 1)
(y 2)
(z -1) )
(draw-grid x y z) )
would be the equivalent of
(with-variables-as ((x 1)
(y 2)
(z -1) )
(draw-grid) )
--
underground experts united
https://dataswamp.org/~incal
- Re: Lexical vs. dynamic: small examples?, (continued)
Re: Lexical vs. dynamic: small examples?, tomas, 2021/08/14
RE: [External] : Re: Lexical vs. dynamic: small examples?, Drew Adams, 2021/08/14
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/14
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/14
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/14
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/15
- Re: [External] : Re: Lexical vs. dynamic: small examples?,
Emanuel Berg <=
- RE: [External] : Re: Lexical vs. dynamic: small examples?, Drew Adams, 2021/08/15
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/15
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Stefan Monnier, 2021/08/15
- Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/15
RE: [External] : Re: Lexical vs. dynamic: small examples?, Drew Adams, 2021/08/15
Re: [External] : Re: Lexical vs. dynamic: small examples?, Emanuel Berg, 2021/08/15
RE: [External] : Re: Lexical vs. dynamic: small examples?, Drew Adams, 2021/08/15
RE: [External] : Re: Lexical vs. dynamic: small examples?, Drew Adams, 2021/08/15
Re: [External] : Re: Lexical vs. dynamic: small examples?, Arthur Miller, 2021/08/15
Re: [External] : Re: Lexical vs. dynamic: small examples?, Lars Ingebrigtsen, 2021/08/15