This page is no longer maintained — Please continue to the home page at www.scala-lang.org

General interest of multimethods for scala.Dynamic

1 reply
Jordi Salvat i ...
Joined: 2011-09-29,
User offline. Last seen 42 years 45 weeks ago.
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>  
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.
Jordi Salvat i ...
Joined: 2011-09-29,
User offline. Last seen 42 years 45 weeks ago.
Re: General interest of multimethods for scala.Dynamic
Following Adriaan's post on the original thread, I think we can kill this one stillborn -- the interest is obviously there and the feature is coming eventually.

--
Salut,

Jordi.


2011/10/3 Jordi Salvat i Alabart <jordi.salvat.i.alabart@gmail.com>
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>  
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.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland