chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Memoizing a procedure


From: Alan Post
Subject: Re: [Chicken-users] Memoizing a procedure
Date: Sun, 28 Nov 2010 21:36:28 -0700

On Sun, Nov 28, 2010 at 11:42:20PM -0300, Hugo Arregui wrote:
> Thanks for your comments Peter!, they are very interesting.
> 
> > It looks good to me.  It only works for simple procedures though,
> > not for procedures with optional arguments or keyword arguments.
> > Keyword args can be in any order, and an optional argument can be
> > identical to a missing argument when it has the value of the default.
> 
> I didn't know about keyword arguments in scheme. It's SRFI-88 stuff?
> 

Chicken Scheme uses Extended DSSSL-style lambda lists, which introduce
#!optional, #!rest, and #!key elements to argument lists:

  http://wiki.call-cc.org/man/4/Extensions%20to%20the%20standard

-Alan
-- 
.i ko djuno fi le do sevzi



reply via email to

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