Skip to content

Allow custom record field prefix #121

Open
@turion

Description

@turion

It would be great if one could prefix the generated record field names. I wrote some template haskell to call makeLenses (from the lens package) for all record types, but a typical naming scheme is data MyRecord = MyRecord { _myRecordFieldName :: T }, which would generate a lens myRecordFieldName :: Lens' MyRecord T. This naming scheme is not possible with the generated code here.

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