Hi Oleg,

I agree with you, we should probably think more seriously about introducing
a real NIL in Faust!

Yann


*Yann Orlarey*
Directeur scientifique/Scientific director


[email protected] <[email protected]> T : +33 (0) 4 72 07 37 00
GRAME - Centre national de création musicale
11 cours de Verdun Gensoul | 69002 Lyon
www.grame.fr | facebook <https://www.facebook.com/Gramelyon/> | instagram
<https://www.instagram.com/grame_cncm/> | twitter
<https://twitter.com/GRAME_LYON>


Le mar. 26 mai 2020 à 13:40, Oleg Nesterov <[email protected]> a écrit :

> On 05/25, Yann Orlarey wrote:
> >
> > For example the expression
> > `()` or `NIL` in Lisp, which indicates an empty list, does not exist in
> > Faust.
>
> Yes. it's a pity ;)
>
> Well, to some degree
>
>         nil = 0:!;
>
> resembles the empty list. Say, output(nil) == 0 and
>
>         process = sin(nil);
>
> works "as expected", same as
>
>         process = sin;
>
>
> Yann, Stephane, I am curious if it is possible to change the compiler to
> make par(i, 0, expr) work?
>
> Some time ago I had to do something like
>
>         mypar(0) = 0:!;
>         mypar(n) = par(i, n, expr(i));
>
> and it was a bit annoying.
>
> Oleg.
>
>
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to