[plt-dev] Apply/List vs Call-with-values/vector->values
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:
http://svn.untyped.com/unlib/trunk/src/keyword-test.ss
http://svn.untyped.com/unlib/trunk/src/keyword.ss
It's not dict-like but it's pretty friendly.
Cheers,
-- Dave