Re: [Vala] How do you get from the generic, to the.....specific?

2012-02-19 Thread Luca Bruno
On Sun, Feb 19, 2012 at 5:32 AM, Matto Marjanovic mad...@mir.com wrote: Are there any plans to add type bounds to Vala generics? This would allow something like (e.g., using Java's keyword): public int get_lengthT extends string (T val) { return val.length; } Yes, but not anytime soon.

Re: [Vala] Create an instance of a derived class, from a base class method

2012-02-19 Thread Tal Hadad
I don't understand what is your purpose: I don't understand why you don't use constructors, or static methods. See, the type deceleration must be explicit at complication time. However, if you don't want it, you can always use generics and the dynamic word. In simple words, as far as I know,

Re: [Vala] Create an instance of a derived class, from a base class method

2012-02-19 Thread Tal Hadad
It's not for you at all(and won't solve anything), but take a look at this example: https://live.gnome.org/Vala/GStreamerSample Date: Sun, 19 Feb 2012 13:24:31 + Subject: Re: [Vala] Create an instance of a derived class, from a base class method From: blowb...@gmail.com To:

Re: [Vala] Sample app built with ninja+vala

2012-02-19 Thread Tal Hadad
You mention Tup, which I see this as a great tool. But have anyone found an autoconf alternative for Tup? Tal ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Safe call operator

2012-02-19 Thread pancake
i really like the idea of having the elvis operator and the safe navigation operator in Vala. fmi : http://groovy.codehaus.org/Operators is this going to be added at some point into the compiler? On Feb 1, 2012, at 21:08, Jim Nelson j...@yorba.org wrote: I was going to mention that as well.