这是indexloc提供的服务,不要输入任何密码
Skip to content

Can setIn be persuaded to also handle partial application somehow? #1

@shadowcat-mst

Description

@shadowcat-mst

let p2 = p1.setIn("key").setIn("subkey").set("val" => v => v+1);

would be magnificent to have, even under a different method name, but I'm far from sure how/if the type system can be made happy with this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions