[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: Fri, 12 Jan 2007 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