|
[jira] Commented: (BOO-250) overloaded functions cannot be "first class fun: msg#00126lang.boo.devel
[ http://jira.codehaus.org/browse/BOO-250?page=comments#action_47559 ] Rodrigo B. de Oliveira commented on BOO-250: -------------------------------------------- this sounds interesting, specially as a way to enable multimethods: class Foo: def bar(a as int): print a def bar(a as string); print a a = functionReturningObject() f = Foo() // today (f as duck).bar(a) // with your proposal (f.bar)(a) interesting... > overloaded functions cannot be "first class functions" > ------------------------------------------------------ > > Key: BOO-250 > URL: http://jira.codehaus.org/browse/BOO-250 > Project: Boo > Type: Bug > Components: Compiler > Versions: 0.5 > Environment: Latest SVN. > Reporter: Arron Washington > Assignee: Rodrigo B. de Oliveira > Fix For: 0.5.6 > > > Functions that are overloaded (such as double.Parse and string.Format) cannot > be used as first class functions because the compiler cannot resolve to any > one of the overloaded functions. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [jira] Commented: (BOO-137) optimize for item in array construct, Rodrigo B. de Oliveira (JIRA) |
|---|---|
| Previous by Thread: | [jira] Commented: (BOO-250) overloaded functions cannot be "first class functions", Doug Holton (JIRA) |
| Next by Thread: | [jira] Created: (BOO-494) conditional: alpha < num < beta instread of alpha < num and num < beta, Cameron Kenneth Knight (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |