lento-lang/Lento-CSharp

Add partial functions

WilliamRagstad opened this issue · 0 comments

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)