Skip to content

Conversation

@Lysxia
Copy link
Contributor

@Lysxia Lysxia commented Jul 28, 2023

The Lift Int instance produces a polymorphic literal, which desugars to fromIntegral under RebindableSyntax. Fixing that instance in base may be too much of a breaking change if a lot of code relies on the accidental polymorphism. We can at least fix Lift Text by not relying on Lift Int.

Fixes #533

The Lift Int instance produces a polymorphic literal, which desugars to
fromIntegral under RebindableSyntax. Fixing that instance in base may be
too much of a breaking change if a lot of code relies on the accidental
polymorphism. We can at least fix Lift Text by not relying on Lift Int.
@Bodigrim Bodigrim merged commit a7a7eb0 into master Jul 28, 2023
@Bodigrim
Copy link
Contributor

Great!

hubot pushed a commit to ghc/ghc that referenced this pull request Sep 18, 2024
Previously these Lift instances could not be used with a custom
fromInteger introduced by RebindableSyntax.

We implement the same workaround as: haskell/text#534
to fix this.

Resolves #25272
hubot pushed a commit to ghc/ghc that referenced this pull request Sep 18, 2024
Previously these Lift instances could not be used with a custom
fromInteger introduced by RebindableSyntax.

We implement the same workaround as: haskell/text#534
to fix this.

Resolves #25272
hubot pushed a commit to ghc/ghc that referenced this pull request Sep 18, 2024
Previously these Lift instances could not be used with a custom
fromInteger introduced by RebindableSyntax.

We implement the same workaround as: haskell/text#534
to fix this.

Resolves #25272
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.

The new lift implementation in text-2.0.1 breaks with RebindableSyntax

3 participants