[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: A few questions
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Re: A few questions |
Date: |
Thu, 31 Jan 2008 14:38:52 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Elf scripsit:
> i was bringing up the case-lambda and parameters as being special cases
> of forms with the number of required args not necessarily the same as
> the maximum number of args, ie its 'rest?' but its not a true rest,
> in that only certain values are valid arities.
Well, sure. But there are lots of Scheme procedures written like that: it's
by no means always the case that a procedure with a rest parameter accepts
an arbitrary number of arguments. Case-lambda is just a way of formalizing
that with a little error checking.
In any case, figuring out how many of its arguments a procedure examines
is equivalent to solving the halting problem, alas.
> im fundamentally opposed to returning with call-with-values any more than
> absolutely required.
It's never *absolutely* required; one can always return a list. So I
don't know what you mean here.
--
John Cowan <address@hidden> http://www.ccil.org/~cowan
It's like if you meet an really old, really rich guy covered in liver
spots and breathing with an oxygen tank, and you say, "I want to be
rich, too, so I'm going to start walking with a cane and I'm going to
act crotchety and I'm going to get liver disease. --Wil Shipley
- Re: [Chicken-users] Re: A few questions, (continued)
- Re: [Chicken-users] Re: A few questions, Mark Fredrickson, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Kon Lovett, 2008/01/31
- Re: [Chicken-users] Re: A few questions (oops), Kon Lovett, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions,
John Cowan <=
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Elf, 2008/01/31
- Re: [Chicken-users] Re: A few questions, Graham Fawcett, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31
- Re: [Chicken-users] Re: A few questions, John Cowan, 2008/01/31