Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Could not find module ‘Language.Haskell.TH.Datatype.TyVarBndr’ #15

Closed
ocharles opened this issue Apr 6, 2021 · 3 comments
Closed

Comments

@ocharles
Copy link

ocharles commented Apr 6, 2021

I'm getting

src/TH/Utilities.hs:16:1: error:

    Could not find module ‘Language.Haskell.TH.Datatype.TyVarBndr’

    Perhaps you meant

      Language.Haskell.TH.Datatype.Internal

      Language.Haskell.TH.Datatype (from th-abstraction-0.3.2.0)

    Use -v (or `:set -v` in ghci) to see a list of the files searched for.

when trying to build 0.2.4.2 on GHC 8.10.3. I have a feeling 0.2.4.2 now only works on GHC 9.

@mgsloan
Copy link
Collaborator

mgsloan commented Apr 8, 2021 via email

@ocharles
Copy link
Author

ocharles commented Apr 8, 2021

It was only added in https://hackage.haskell.org/package/th-abstraction-0.4.0.0 and there are no bounds specified, so I imagine I was trying to build with an older th-abstraction. I just tried adding constraint: th-abstraction ^>= 0.4.0.0 to my cabal.project, but that's not a valid plan. Maybe it's worth adding some minimum bounds?

@mgsloan
Copy link
Collaborator

mgsloan commented Apr 10, 2021

Ah, I see! I've added the lower bound constraint in a hackage revision and in version 0.2.4.3

I suppose it is not a valid plan because of some upper bounds that can presumably be loosened? https://packdeps.haskellers.com/reverse/th-abstraction

@mgsloan mgsloan closed this as completed Apr 10, 2021
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

No branches or pull requests

2 participants