Re: '...' is a variable,who can explain
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: '...' is a variable,who can explain
- From: Daniel Silverstone <dsilvers@...>
- Date: 2007年1月12日 15:54:45 +0000
On Fri, 2007年01月12日 at 17:00 +1100, David Burgess wrote:
> It does raise the question of whether
> type(...)
> should return a value?
I believe it should.
After all, f(...) means "call the function 'f' passing it the unpacked,
unclaimed argument set" (approximately)
so type(...) would return the type of the first unclaimed argument in a
new-style vararg function.
D.
--
Daniel Silverstone http://www.digital-scurf.org/
PGP mail accepted and encouraged. Key Id: 2BC8 4016 2068 7895