Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 30, 2025

Unevaluated type families can cause a significant compilation overhead during normalization (cf. #1977 and #3063). The PR circumvents the problem by normalizing type families of GHC core types before they are translated into their Clash core equivalent.

This approach is sound, as Clash never is intended to handle non-resolvable type families due to monomorphization. And, even if encountering such case, the given approach will just keep the type as it is.

Still TODO:

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