enso-org / enso

Enso Analytics is a self-service data prep and analysis platform designed for data teams.
https://ensoanalytics.com
Apache License 2.0
7.36k stars 322 forks source link

Oversaturated Calls in Currying #870

Closed iamrecursion closed 4 years ago

iamrecursion commented 5 years ago

Summary

While support for currying has been implemented to comply with luna/enso#18, it currently doesn't handle the case where a function is applied to more arguments than it takes on its own. This isn't intuitively an issue, but becomes one when functions can return functions, to which the remaining arguments should be applied.

Value

Implementing this will complete Enso's support for curried function application, and hence complete the set of tasks required to support the proper language semantics for function calls.

Specification

Acceptance Criteria & Test Cases

iamrecursion commented 5 years ago

Some notes on the proposed implementation: