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

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: [Vala] Not Existing CCodeBaseModule in Vala context

2017-08-30 Thread Sébastien Granjoux
Hi, On 30/08/2017 22:04, Al Thomas wrote: CCode and Codegen are internal to libvala. That allows internal refactoring of the code without breaking users of libvala. There will be on going work to reduce the size of the Vala API. Ideally libvala clients would be internal to the Vala project

Re: [Vala] Not Existing CCodeBaseModule in Vala context

2017-08-30 Thread Al Thomas via vala-list
> From: Sébastien Granjoux > Sent: Wednesday, August 30, 2017, 8:55:04 PM GMT+1 > Subject: [Vala] Not Existing CCodeBaseModule in Vala context > With vala 0.38, I get the error: >     error: The name `CCodeBaseModule' does not exist in the context of `Vala' > on the following

[Vala] Not Existing CCodeBaseModule in Vala context

2017-08-30 Thread Sébastien Granjoux
Hi, With vala 0.38, I get the error: error: The name `CCodeBaseModule' does not exist in the context of `Vala' on the following line scope_prefix = Vala.CCodeBaseModule.get_ccode_lower_case_prefix (scope); I don't know much about Vala but this line looks valid to me. It is working

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.

[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