zouppen / haskell-curl-aeson Goto Github PK
View Code? Open in Web Editor NEWHaskell library for communicating with HTTP service using JSON
License: BSD 3-Clause "New" or "Revised" License
Haskell library for communicating with HTTP service using JSON
License: BSD 3-Clause "New" or "Revised" License
Currently we just cURL and then just uninitialize the handle. It might be a good idea to introduce versions of functions reusing the handle.
Include payload in exception data to help with debugging. It used to be there in options but since we moved to ReadFunction it is no longer exposed.
libraries versions:
base 4.15.1.0
aeson 2.0.3.0
curl 1.3.8
bytestring 0.10.12.1
text 1.2.5.0
Configuring curl-aeson-0.1.0.1...
Preprocessing library for curl-aeson-0.1.0.1..
Building library for curl-aeson-0.1.0.1..
[1 of 2] Compiling Network.Curl.Aeson.Internal ( src/Network/Curl/Aeson/Internal.hs, dist/build/Network/Curl/Aeson/Internal.dyn_o )
You are using an unsupported version of LLVM!
Currently only 9 to 14 is supported. System LLVM version: 14.0.6
We will try though...
[2 of 2] Compiling Network.Curl.Aeson ( src/Network/Curl/Aeson.hs, dist/build/Network/Curl/Aeson.dyn_o )
src/Network/Curl/Aeson.hs:202:8: error:
• Couldn't match expected type ‘Key’ with actual type ‘Text’
• In the second argument of ‘(.:)’, namely ‘s’
In a stmt of a 'do' block: o .: s
In the expression:
do o <- p
o .: s
|
202 | o .: s
| ^
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.