[IronPython] Plans for overloads?

Keith J. Farmer kfarmer at thuban.org
Fri Jul 22 00:13:04 CEST 2005

Interesting, but this seems to be purely for decorating method definitions, not method calls, and I'm not sure how any similar syntax would help.
The only thing I could think of would be to hint the parser, which may be what you had in mind.
def foo(int)
def foo(string)
def bar[T](T, int)
def bar[T](T, string)
foo(/* int */ 1)
foo(/* string */ "one")
bar[baz](bazVal, /* int */ 1)


From: users-ironpython.com-bounces at lists.ironpython.com on behalf of Morgan Martinet
Sent: Thu 7/21/2005 2:46 PM

I know this is purely Python stuff, but maybe it could help for the new
syntax you're investigating...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4090 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20050721/62c42227/attachment.bin>

More information about the Ironpython-users mailing list