Skip to content

deffn should curry or raise when passed incomplete arguments #702

Description

@jfeser

deffn(x() + y(), x, y)(0) should evaluate to deffn(0 + y(), y) or raise an error, because this is consistent with Python's behavior for callables. It currently evaluates to 0 + y().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions