Skip to content

expose lens constructor? #268

@valyagolev

Description

@valyagolev

Stuck wanting a function to construct my own lens(). The reason for it is that I'm trying to use optics-ts with es Map, because basically I need an object that preserves item ordering. It requires using .get() and .set() to get/set entries; object syntax doesn't work. Unfortunately I can't figure out how to lens into it.

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