Re: [Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-31 Thread Manish Jain
On 08/31/17 05:46, Nor Jaidi Tuah wrote: > >> int c1 = f_add(a)(b); >> int c2 = f_add2(a, b); //Problem here >> > > try f_add2(a,b)() > > > Nice day > Nor Jaidi Tuah Hi Nor/Al/others, Thanks for responding to my query. I could make my code work by calling it with f_add2()(a, b). This leads

Re: [Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-30 Thread Nor Jaidi Tuah
Sorry for the noise. Didn't notice that the message was already replied. Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you are neither the addressee (intended recipient) nor an authorised recipient of the addressee, and have received this me

Re: [Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-30 Thread Nor Jaidi Tuah
> int c1 = f_add(a)(b); > int c2 = f_add2(a, b); //Problem here > try f_add2(a,b)() Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you are neither the addressee (intended recipient) nor an authorised recipient of the addressee, and have re

Re: [Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-30 Thread Al Thomas via vala-list
> From: Manish Jain > Sent: Wednesday, August 30, 2017, 10:31:00 AM GMT+1 > Subject: [Vala] Newbie help needed for Vala delegates/lambda expressions > After programming for a long time with C/C++, I am trying to get > comfortable with Vala for my GUI programming. Hi, and welco

[Vala] Newbie help needed for Vala delegates/lambda expressions

2017-08-30 Thread Manish Jain
Hi, After programming for a long time with C/C++, I am trying to get comfortable with Vala for my GUI programming. I quite like the language, but am thwarted in quickly coming to terms with Vala because of the absence of documentation. A particular sticking point right now is lambda expression