Skip to content

Add surface syntax for partial application of uncurried functions. #6165

Closed
@cristianoc

Description

@cristianoc

Current placeholder syntax uses attributes:

@@uncurried

let add = (x,y,z) => x+y+z

let ptl1 =  @res.partial add(1)

let v1 = ptl1(2,3)
Js.log2("v1:", v1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions