Skip to content

Conversation

@nick8325
Copy link

Hi,

The union-find-array package no longer compiles on GHC 7.10, as the compiler now checks when it infers a type that the type declaration would be accepted if you wrote it by hand. The type of the local function cont under Data.Union.ST.merge requires FlexibleContexts, so GHC complains. This patch just adds a FlexibleContexts pragma to the file to make GHC happy.

@int-e
Copy link
Contributor

int-e commented Apr 10, 2015

Thanks! I made an almost identical patch. The fix is on hackage.

@int-e int-e closed this Apr 10, 2015
@nick8325
Copy link
Author

Thanks for the quick response!

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.

2 participants