Sujet : Re: REPL in Lisp
De : kehoea (at) *nospam* parhasard.net (Aidan Kehoe)
Groupes : comp.lang.lisp sci.lang comp.lang.schemeDate : 13. Jul 2024, 09:24:27
Autres entêtes
Message-ID : <87ikx97o0k.fsf@parhasard.net>
References : 1 2 3
User-Agent : Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b35 (Linux-aarch64)
Ar an dara lá déag de mí Iúil, scríobh Kaz Kylheku:
> On 2024-07-11, Lawrence D'Oliveiro <
ldo@nz.invalid> wrote:
> > On Wed, 10 Jul 2024 19:11:17 -0700, HenHanna wrote:
> >
> >> the acronym (?) REPL must be new in Lisp (and Scheme)
> >>
> >> i'm sure i never saw it (used or mentioned) 25 years ago.
> >
> > There are many new terms coined for old concepts. Like “capture” for
> > “lexical binding”, or “dependency injection” for “callback”.
>
> Lexical binding does not imply closure/capture.
I’ve never seen “capture” used as a general term for closures or for lexical
scope in this way; are we sure it’s what was meant?
> C has lexical scoping without capture: the bindings are destroyed
> when their associated scope terminates.
-- ‘As I sat looking up at the Guinness ad, I could never figure out /How your man stayed up on the surfboard after fourteen pints of stout’(C. Moore)