[plt-dev] Apply/List vs Call-with-values/vector->values

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Mon Feb 22 12:13:38 EST 2010

On 22 Feb 2010, at 16:18, Carl Eastlund wrote:

> On Mon, Feb 22, 2010 at 11:04 AM, Matthias Felleisen
> <matthias at ccs.neu.edu> wrote:
>> So we really need an apply/vector so that Jay can write
>>  (apply/vector make-prefab-struct v)
>> And for keywords, perhaps we should have an apply/hash if
>> we can stick keywords into the domain of a hash.
>> -- Matthias
> I've wanted a dict-based front-end to lambda, keyword-apply, and
> make-keyword-procedure for some time.  Manipulating a pair of lists is
> a less than convenient interface.
> --Carl

I wrote a procedure called keyword-apply* for Unlib, in case that's any use to you:


It's not dict-like but it's pretty friendly.


-- Dave

Posted on the dev mailing list.