Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
This task aims to add default parameter values to UDFs for scalar and boolean types. There may already be runtime support, but the grammar does not seem to allow it.
Example that currently works:
script = """ f = function(double x, int a) return (double ans) { ans = a * x } ans = f(3, 1) print(ans) """ ml.reset() ml.executeScript(script)
Example that would be nice:
script = """ f = function(double x, int a=1) return (double ans) { ans = a * x } ans = f(3) print(ans) """ ml.reset() ml.executeScript(script)
Attachments
Issue Links
- relates to
-
SYSTEMDS-587 Improvements Triggered By Deep Learning Work
- In Progress