On 09/02, Oleg Nesterov wrote:
>
> Hmm... but I don't understand what exactly the new neutralExpSeq() function
> does... Say,
>
>       f = _,_;
>       seq0 = seq(i,0,f);
>       process = inputs(seq0), outputs(seq0);
>
> outputs 2,2. Good. However,
>
>       f = _,_ :> _;
> or
>       f = +;
>
> results in 1,1 and this doesn't look consistent to me...

OK, I seem to understans. So, if we have

        seq0 = seq(i,0,f);
then
        inputs(seq0) == outputs(seq0) == outputs(f)

neutralExpSeq() doesn't take 'ins' into account. perhaps
it should complain when ins != outs?

> And with
>       f(x,y) = x+y;
>
> I get
>
>       boxType() internal error : unrecognized box expression 
> closure[\x.(\y.(x,y : +)), genv = {}, lenv = {}]

just in case, even

        f(x) = x;

leads to the same problem, looks like a bug ;)

Oleg.



_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to