phadej / aeson-compat Goto Github PK
View Code? Open in Web Editor NEWCompatibility package for aeson
License: BSD 3-Clause "New" or "Revised" License
Compatibility package for aeson
License: BSD 3-Clause "New" or "Revised" License
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)
| ^^^^^^^^^^^^^^
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
explicitly list exports, so it's harder to break PVP promises.
Should we provide FromJSON1
ToJSON1
etc?
Alternatively, introduce except*
family of them... or make prism-versions in aeson-extra
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.