Skip to content

Use Record instead of data #47

Open

Description

@reactormonk

Activity

  1. JordanMartinez commented on Mar 6, 2019

    @JordanMartinez
    Contributor

    Agreed. I think this is partly why I didn't use this library in my repo's ToC program

  2. added
    type: breaking changeA change that requires a major version bump.
    good first issueFirst-time contributors who are looking to help should work on these issues.
    on Aug 27, 2020
  3. JordanMartinez commented on Mar 25, 2022

    @JordanMartinez
    Contributor

    I think this breaking change should happen in v0.16.0 as it will likely propagate far. Thoughts?

  4. garyb commented on Mar 25, 2022

    @garyb
    Member

    I'm not sure this library is that widely used, since most people probably don't care about the expanded set of capabilities it provides over string munging enough to deal with the effort of using it. 😉

    It is a fair bit of work though, some choices will need making for the places where there are sum types, etc. so I think leaving it for a future update is fine though.

    I'm not totally convinced that changing it to use records will fix the usability to a great degree either... it'll still be a bit of a pain to construct URIs using it, and reading parts out of them won't be much easier either since it'll still require lens use due to the sums types. In a perfect world we'd have a type-level parser so we could just put URIs in the code as type-level strings and reflect them, but I think the compile time cost of that would be prohibitive, and is quite a project to figure out too.

  5. JordanMartinez commented on Mar 25, 2022

    @JordanMartinez
    Contributor

    Ok, and yeah I agree with what you have said.

    I'll leave this labeled as a breaking change, but won't associate it with any particular compiler release.

  6. added
    status: blockedThis issue or PR is blocked by something and cannot make progress.
    and removed
    good first issueFirst-time contributors who are looking to help should work on these issues.
    on Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: blockedThis issue or PR is blocked by something and cannot make progress.type: breaking changeA change that requires a major version bump.type: enhancementA new feature or addition.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions