emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: User-reserved element in byte code vectors


From: David Kastrup
Subject: Re: User-reserved element in byte code vectors
Date: 18 May 2004 00:33:37 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Miles Bader <address@hidden> writes:

> On Mon, May 17, 2004 at 12:30:05PM -0400, Stefan Monnier wrote:
> > > My idea is that it would say where to fit the new args around the old
> > > args.  For instance, you might want to curry args 2 and 3.  This would
> > > be easy if the first slot has a list saying where the curried args go.
> > > For instance, a list of integers saying which positions to use
> > > the curried args in.
> > 
> > We already have a very simple way to express such things:
> 
> I think the case where using `lambda' becomes annoying is when you have a
> variable-length arglist, which with lambda would require using &rest or
> something, and so do lots of run-time consing.

Without lexical binding, currying a curried function would probably
not work when using the lambda approach (haven't thought this through
in detail, though).

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]