Skip to content

Curry fac #3

Description

@espadrine

Hi!

In mp-wasm, I was surprised by the non-curried status of the fac() function:

mpWasm.mpf(3).fac()
// Uncaught TypeError: mpWasm.mpf(...).fac is not a function

Browsing through the code, I notice this:

 if (name !== "fac") curriedOps.push(name);

Is there a fundamental issue that prevents currying fac?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions