Re: case-lambda integration

2009-10-22 Thread Ludovic Courtès
Hi! Andy Wingo writes: > On Thu 22 Oct 2009 00:00, l...@gnu.org (Ludovic Courtès) writes: [...] >> So the keyword alist is new meta-data stored alongside the procedure, >> right? > > Yes. It is stored in the procedure's object table. > > The metadata itself does change on this branch. Before t

Re: case-lambda integration

2009-10-22 Thread Andy Wingo
Hi Ludovic, On Thu 22 Oct 2009 00:00, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> So once you run out of optionals or see a keyword, the remaining >> arguments are shuffled up on the stack, to be placed above the empty >> slots for keyword arguments -- /if any/. Then the key

Re: case-lambda integration

2009-10-21 Thread Ludovic Courtès
Hey, Andy Wingo writes: > All args are passed on the stack. A procedure may have required, > optional, keyword, and rest arguments. The N required arguments are > bound to the first N local variable slots. The M optional arguments are > bound to the next M local variable slots. If an optional va

Re: case-lambda integration

2009-10-19 Thread Andy Wingo
Good evening Ludovic :) On Tue 13 Oct 2009 22:35, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> I made allowances for efficient optional and keyword argument >> dispatch -- so we can have keyword arguments without consing, and >> arguments which are positionally optional yet c

Re: case-lambda integration

2009-10-13 Thread Ludovic Courtès
Hello! Andy Wingo writes: > In order to expose the case-lambda functionality to Scheme though, we > need a way to make lambdas with more than one case; so I think I will > export case-lambda as an identifier by default. > > That is probably uncontroversial. It’s fine with me, so certainly uncon