[system] Repository:
ViewVC logotype

Revision 5927


Jump to revision: Previous Next
Author: dpvc
Date: Fri Oct 3 12:36:29 2008 UTC (11 years, 1 month ago)
Log Message:
Allow the perlFunction method to produce functions that return
formulas when not all the variables are used as arguments.

For example:

    Formula("x+y")->perlFunction('f',['x']);
    $f = f(2);

would produce the equivalent of

    $f = Formula("2+y");

Using the substitute method is more efficient, but this now does the
right thing rather than generate error messages.

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9