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

Potentially missing imports? #66

Open
chrissound opened this issue Jun 13, 2017 · 1 comment
Open

Potentially missing imports? #66

chrissound opened this issue Jun 13, 2017 · 1 comment

Comments

@chrissound
Copy link

Thanks for the tutorial first of all!

I'm following through with the tutorial and at this line: https://github.com/vacationlabs/haskell-webapps/blame/master/doc/docs/opaleye/basic-db-mapping.rst#L108

we have $(makeAdaptorAndInstance "pTenant" ''TenantPoly) however makeAdaptorAndInstance does not appear to be imported.

Is this from Data.Profunctor.Product.TH?

I'm guessing we also need:

{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
@p-alik
Copy link

p-alik commented Jul 18, 2017

hlint starterApp/Main.hs complians about missing of MultiParamTypeClasses

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