Add partial functions
WilliamRagstad opened this issue · 0 comments
WilliamRagstad commented
Allow for creation of partially applied functions using currying.
f(int x, int y) = x + y
g = f(5) # Missing one argument, g becomes a function with the remaining arguments for f
g(37) # Finally evaluated to the integer 42 (All arguments passed)