---------- Forwarded message ----------
From: jimbo1qaz <jimbo1...@gmail.com>
Date: Sat, May 21, 2016 at 4:54 PM
Subject: Re: [Faudiostream-users] Incorrect argument order with recursive
composition and named parameters
To: Bart Brouns <b...@magnetophon.nl>
I solved Bug 1 by referencing "_" before "x".
Anyway, I had to rewrite that section of the program due to a logic bug.
I suspect the problem is that Faust translates named parameters into Block
Diagram Normal Form, but fails to preserve the mapping between named
parameters and underscores. In other words, it forgets which variable is
which.
Bug 2: Both of your suggested solutions.
On Sat, May 21, 2016 at 3:19 PM, Bart Brouns <b...@magnetophon.nl> wrote:
> On Fri, May 20, 2016 at 10:25:54PM -0700, jimbo1qaz wrote:
>
>> Another bug related to handling named parameters:
>>
>> func(x) = x^2 + x + 1;
>> process = func(_); // I didn't test "process=func"
>>
>
> I suggest you test that! ;)
>
> or:
>
> process(y) = func(y);
>
> I used y here, but I could just as well have called it x.
> It doesn't matter what the parameter is called, only what it's value is in
> the context that you use it in.
>
> Does that clear up your previous question as well?
>
>
> Cheers,
> Bart.
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users