Hello, list.

I having a few thoughts about this and I wanted to share them with you.

Some time ago, I remember a discussion where Yann considered on removing
the *letrec* environment altogether and to being able to define a system of
equations within the *with* environment itself with the same syntax as
*letrec*. It would be good, I'd say.

I was also wondering, would it be too complicated for the compiler to
recognise a recursive definition and deal with it as if it were a letrec
environment?

For example, we could write:

import("stdfaust.lib");
process = fb
letrec {
'fb=fb*.1;
};

Wouldn't it be great to be able to write:

import("stdfaust.lib");
'fb=fb*.1;
process = fb; ?

Or, similarly, instead of writing:

import("stdfaust.lib");
process = fb1+fb2
letrec {
'fb1=fb2*.1;
'fb2=fb1*-.2;
};

to just write:

import("stdfaust.lib");
'fb1=fb2*.1;
'fb2=fb1*-.2;
process = fb1+fb2; ?

Cheers,
Dario
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to