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

Compile error after bumping dependent-sum, dependent-map packages #7

Open
dfordivam opened this issue Jul 15, 2019 · 0 comments
Open

Comments

@dfordivam
Copy link

Not sure though if this error is related to these packages or something else.

The reflex-platform now uses dependent-map dependent-map >= 0.3 && < 0.4 after this reflex-frp/reflex@1024703

src/Data/GADT/Aeson.hs:59:22: error:
    • Could not deduce (constraints-extras-0.3.0.1:Data.Constraint.Extras.ArgDict
                          (constraints-extras-0.3.0.1:Data.Constraint.Compose.ComposeC
                             Show f)
                          k)
        arising from the first field of ‘JSONDMap’ (type ‘DMap k f’)
      from the context: (constraints-extras-0.3.0.1:Data.Constraint.Extras.ConstraintsFor
                           k
                           (constraints-extras-0.3.0.1:Data.Constraint.Compose.ComposeC
                              Show f),
                         Data.GADT.Show.GShow k)
        bound by the deriving clause for ‘Show (JSONDMap k f)’
        at src/Data/GADT/Aeson.hs:59:22-25
      Possible fix:
        use a standalone 'deriving instance' declaration,
          so you can specify the instance context yourself
    • When deriving the instance for (Show (JSONDMap k f))
   |
59 |   deriving (Eq, Ord, Show, Read)
   |                      ^^^^
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

1 participant