Coder Social home page Coder Social logo

aeson-compat's People

Contributors

bergmark avatar felixonmars avatar gelisam avatar phadej avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

aeson-compat's Issues

support aeson-2.1?

I don't personally use this library, but noticed in Fedora that it fails to build with aeson-2.1
(currently there is an upperbound for that)

src/Data/Aeson/Compat.hs:174:20: error:
    Ambiguous occurrence ‘AesonException’
    It could refer to
       either ‘Data.Aeson.AesonException’,
              imported from ‘Data.Aeson’ at src/Data/Aeson/Compat.hs:(100,1)-(111,3)
           or ‘Data.Aeson.Compat.AesonException’,
              defined at src/Data/Aeson/Compat.hs:171:1
    |
174 | instance Exception AesonException
    |                    ^^^^^^^^^^^^^^

src/Data/Aeson/Compat.hs:177:37: error:
    Ambiguous occurrence ‘AesonException’
    It could refer to
       either ‘Data.Aeson.AesonException’,
              imported from ‘Data.Aeson’ at src/Data/Aeson/Compat.hs:(100,1)-(111,3)
           or ‘Data.Aeson.Compat.AesonException’,
              defined at src/Data/Aeson/Compat.hs:171:26
    |
177 | eitherAesonExc (Left err) = throwM (AesonException err)
    |                                     ^^^^^^^^^^^^^^

fails to compile in current Stackage Nightly

       Building library for aeson-compat-0.3.10..
       [1 of 1] Compiling Data.Aeson.Compat
        
       /var/stackage/work/unpack-dir/unpacked/aeson-compat-0.3.10-78f72cc9d19dfc953e5a270a3d8daadbeb74df66c479e1eea7d4eb22fcda60e7/s
rc/Data/Aeson/Compat.hs:174:20: error:
           Ambiguous occurrence ‘AesonException’
           It could refer to
              either ‘Data.Aeson.AesonException’,
                     imported from ‘Data.Aeson’ at src/Data/Aeson/Compat.hs:(100,1)-(111,3)
                  or ‘Data.Aeson.Compat.AesonException’,
                     defined at src/Data/Aeson/Compat.hs:171:1
           |
       174 | instance Exception AesonException
           |                    ^^^^^^^^^^^^^^
        
       /var/stackage/work/unpack-dir/unpacked/aeson-compat-0.3.10-78f72cc9d19dfc953e5a270a3d8daadbeb74df66c479e1eea7d4eb22fcda60e7/s
rc/Data/Aeson/Compat.hs:177:37: error:
           Ambiguous occurrence ‘AesonException’
           It could refer to
              either ‘Data.Aeson.AesonException’,
                     imported from ‘Data.Aeson’ at src/Data/Aeson/Compat.hs:(100,1)-(111,3)
                  or ‘Data.Aeson.Compat.AesonException’,
                     defined at src/Data/Aeson/Compat.hs:171:26
           |
       177 | eitherAesonExc (Left err) = throwM (AesonException err)
           |                                     ^^^^^^^^^^^^^^
curator: Received ExitFailure 1 when running

aeson-1

Should we provide FromJSON1 ToJSON1 etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.