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

Build error with aeson-2 #258

Closed
sjakobi opened this issue Oct 11, 2021 · 1 comment · Fixed by #260
Closed

Build error with aeson-2 #258

sjakobi opened this issue Oct 11, 2021 · 1 comment · Fixed by #260

Comments

@sjakobi
Copy link

sjakobi commented Oct 11, 2021

When I build shakespeare-2.0.25 with aeson-2.0.1.0, I get the following error:

Text/Julius.hs:120:23: error:
    • Couldn't match type ‘Data.Aeson.KeyMap.KeyMap Value’
                     with ‘H.HashMap T.Text Value’
      Expected type: H.HashMap T.Text Value
        Actual type: aeson-2.0.1.0:Data.Aeson.Types.Internal.Object
    • In the first argument of ‘H.toList’, namely ‘m’
      In the expression: H.toList m
      In the expression:
        case H.toList m of
          (x : xs) -> singleton '{' <> one x <> foldr f (singleton '}') xs
          _ -> "{}"
    |
120 |         case H.toList m of
    |                       ^
@sjakobi
Copy link
Author

sjakobi commented Oct 11, 2021

As a Hackage trustee, I have created some Hackage revisions that should prevent users from running into the errors above. See e.g. https://hackage.haskell.org/package/shakespeare-2.0.25/revisions/.

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 a pull request may close this issue.

1 participant