[Prev][Next][Index][Thread]
Re: Is Dylan a functional language?
Neelakantan Krishnaswami neelk@alum.mit.edu on 2001-10-10 22:00 wrote:
> It would be nice if a Dylan compiler could reject the method
> quux(<float>) as having a different keyword argument list than the
> generic function declaration. This would permit the overhead of
> keyword arguments to get optimized away every time, since the compiler
> would know that keywords always come in the same order.
I don't follow that. The compiler could assign a fixed order to the
keywords for argument passing, it's just that the methods need to assign
defaults in the correct order.
Follow-Ups:
References: