Skip to content

Relax constraints on decimal, hexadecimal, hex from Integral to Num - #700

Open
Lysxia wants to merge 1 commit into
masterfrom
num-constraint
Open

Lysxia wants to merge 1 commit into
masterfrom
num-constraint

Conversation

@Lysxia

@Lysxia Lysxia commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Close #698

@Bodigrim

Copy link
Copy Markdown
Contributor

My only concern is that PVP says that changes to type signatures require a major version bump. On the other hand, I see no way how this particular change can break a user.

@Lysxia

Lysxia commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

This is a low-priority change so we can leave this open, waiting for a more interesting breaking change to hitchhike with.

@Lysxia

Lysxia commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor Author

I am about to make the judgement call that this is fine to consider non-breaking. If someday the PVP gets automated we should fix it to explicitly allow cases like this.

cc @Bodigrim

@Bodigrim

Copy link
Copy Markdown
Contributor

Not a hill I'm willing to die on, so up to you.

On the other hand, maybe we can do #231, #425 and more minor changes + I'd like to start deprecating Data.Text.Internal.Fusion away from the public interface, and call it text-2.2.

@Lysxia

Lysxia commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Oh yes! I'll make a release with the changes we have already and then I'll prepare some of these breaking changes/cleanups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.Read

2 participants