Igor Schein on Tue, 01 Feb 2005 21:25:41 +0100

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

optional argument behavior


Since I'm not sure whether it's a bug or a feature, I'm posting it
here instead of reporting a bug:

? f(a,b=a)=[a,b]
? f(1)
[1, a]

For a very long time I've operated under ( a possibly false )
assumption that the correct answer here would be [1, 1]