On Fri, 25 Aug 2006, Riccardo Jack Lucchetti wrote:
From the user's perspective, genr is ok now, but if you look
at the source, everything is very complicated. One thing I'd
like to have is a clean mechanism for defining functions with
more than one argument. At present we have fracdiff, whose
code is quite messy, and pvalue, which also is treated as a
special case. It'd be very nice to have optional arguments, à
la R.
Yes, I agree that would be good. Right now generate.c contains
a whole patchwork of special cases, and not everything nests as
it should. I hope that with a more systematic treatment we can
handle functions more elegantly and flexibly.
Allin.