Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Deprecate (:>>) because GHC can't efficiently handle recursive type families #101

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

arybczak
Copy link
Member

@arybczak arybczak commented Oct 6, 2022

It's really saddening since (:>>) is a great QoL feature, but if people use it in a lot of type signatures in a non-trivial codebase, it'll start taking forever to compile their code and they'll think it's the fault of the library.

This was already encountered in the context of effect libraries: joshvera/effects#49

Relevant GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/19238

@arybczak arybczak changed the title Remove (:>>) because GHC can't efficiently handle recursive type families deprecate (:>>) because GHC can't efficiently handle recursive type families Oct 6, 2022
@arybczak arybczak changed the title deprecate (:>>) because GHC can't efficiently handle recursive type families Deprecate (:>>) because GHC can't efficiently handle recursive type families Oct 6, 2022
…amilies

It's really saddening since (:>>) is a great QoL feature, but if people use it
in a lot of type signatures in a non-trivial codebase, it'll start taking
forever to compile their code and they'll think it's the fault of the library.

This was already encountered in the context of effect libraries:
joshvera/effects#49

Relevant GHC issue: https://gitlab.haskell.org/ghc/ghc/-/issues/19238
@arybczak arybczak merged commit 0c66324 into master Oct 6, 2022
@arybczak arybczak deleted the no-recursive-tf branch October 6, 2022 14:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant