cool.
I’m prototyping a Ceylon version of Netflix Rx.Java (a wrapper) and that would make the bridging easier.
--
Julien Viet
www.julienviet.com
On 6 Jul 2014 at 18:29:18, Gavin King (
gavin...@gmail.com) wrote:
> I don't think there is any problem at all with introducing lower bounds to the language;
> it would probably be quite a simple task to implement, and we reserved "abstracts" as
> a keyword just in case we decide we need it after all. But I've not so far run into a case that
> calls for it, so I'm very interested to know why you think the approach on Iterable.reduce()
> wouldn't work for you because it seems to me that it's virtually equivalent to what you
> wrote down below.
>
> Sent from my iPhone
>
> > On 6 Jul 2014, at 4:19 pm, Julien Viet wrote:
> >
> > I read in the spec it is not part of the language.
> >
> > I’m trying to express something like:
> >
> > interface Observable {
> > ...
> > Observable reduce(U accumulator(U u1, U u2)) given U “super” Element
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ceylon-dev/A35251BC-3A8E-40B9-A760-58D9BCEA2FBE%40gmail.com.