Skip to content

Use generic programming library? #80

@jvoigtlaender

Description

@jvoigtlaender

To simplify a lot of functions on the data types. Be it accessors, traversals, rewriters.

I guess the functionality of https://hackage.haskell.org/package/uniplate (see their README, functions universe, transform, para, contexts, rewrite etc.) would be applicable in many cases here.

It appears (?) that nowadays people instead use https://hackage-content.haskell.org/package/lens-5.3.5/docs/Control-Lens-Plated.html#g:2 (but the uniplate README is still nice for motivation, since it contains examples of how the different functions might be used).

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