Skip to content

We need a PPX lens generator #5

Description

@foretspaisibles

It would save a lot of boilerplate code – and make lenses a ridiculously useful feature – to have a PPX extension allowing to automatic lenses generation, so that we could write

type car = {
    make : string;
    model: string;
    mileage: int;
  } [@@lens]

and have automatically make_lens etc. defined for us.

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