- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
General interest of multimethods for scala.Dynamic
Mon, 2011-10-03, 13:53
I've changed the subject to keep the issue of general interest separate from that of specification and implementation.
2011/10/3 Paul Phillips <paulp@improving.org>
Formal process then.
Based on http://www.scala-lang.org/node/233:
Q: I know how to implement the feature, I have already started
In that case, writing a SID is the right thing to do! Before submitting it, however, you need to 1) discuss your effort on the scala-internals list, to see whether your new feature can be of general interest and can be included in the mainstream Scala distribution, and 2) you need to obtain Martin's general approval.
Questions -- without going into implementation details yet:
A.- Is a mechanism like scala.Dynamic, allowing calls to an object through methods of any name, of general interest?
B.- Are multimethods for scala.Dynamic of general interest?
My vote/opinion (in case it counts):
A.- +1
B.- +0 -- as said, I coded this because Paul challenged me. Now that it's done, I must confess that I would be equally happy with a fixed applyDynamic(Any*) signature.
--
Salut,
Jordi.
2011/10/3 Paul Phillips <paulp@improving.org>
We're well past casual githubbery now.
Formal process then.
Based on http://www.scala-lang.org/node/233:
Q: I know how to implement the feature, I have already started
In that case, writing a SID is the right thing to do! Before submitting it, however, you need to 1) discuss your effort on the scala-internals list, to see whether your new feature can be of general interest and can be included in the mainstream Scala distribution, and 2) you need to obtain Martin's general approval.
Questions -- without going into implementation details yet:
A.- Is a mechanism like scala.Dynamic, allowing calls to an object through methods of any name, of general interest?
B.- Are multimethods for scala.Dynamic of general interest?
My vote/opinion (in case it counts):
A.- +1
B.- +0 -- as said, I coded this because Paul challenged me. Now that it's done, I must confess that I would be equally happy with a fixed applyDynamic(Any*) signature.
--
Salut,
Jordi.
--
Salut,
Jordi.
2011/10/3 Jordi Salvat i Alabart <jordi.salvat.i.alabart@gmail.com>