Skip to content

Remove unnecessary arguments for directly applied lambdas (other than the first) #398

@jfmengels

Description

@jfmengels

We currently simplify

(\_ y z -> x) a b c
--> (\y z -> x) b c

but we don't apply the same idea to the other arguments (only the first). We should also simplify:

(\y _ z -> x) a b c
--> (\y z -> x) a c

(\y _ -> x) a <| c
--> (\y -> x) a

I am looking for:

  • Someone to implement it with/for me

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