arbor / antiope Goto Github PK
View Code? Open in Web Editor NEWA tiny wrapper around Amazonka
License: MIT License
A tiny wrapper around Amazonka
License: MIT License
[1 of 3] Compiling Antiope.Messages.Types ( src/Antiope/Messages/Types.hs, dist/build/Antiope/Messages/Types.o, dist/build/Antiope/Messages/Types.dyn_o )
src/Antiope/Messages/Types.hs:87:23: error:
• Couldn't match expected type ‘Aeson.Key’ with actual type ‘Text’
• In the first argument of ‘(.=)’, namely ‘name’
In the expression:
name .= (Text.decodeUtf8 . LBS.toStrict . encode) a
In the first argument of ‘Aeson.object’, namely
‘[name .= (Text.decodeUtf8 . LBS.toStrict . encode) a]’
|
87 | in Aeson.object [ name .= (Text.decodeUtf8 . LBS.toStrict . encode) a ]
| ^^^^
src/Antiope/Messages/Types.hs:93:25: error:
• Couldn't match expected type ‘Aeson.Key’ with actual type ‘Text’
• In the second argument of ‘(.:)’, namely ‘Text.pack name’
In the second argument of ‘(<$>)’, namely ‘obj .: Text.pack name’
In the expression: With <$> obj .: Text.pack name
|
93 | With <$> obj .: Text.pack name
| ^^^^^^^^^^^^^^
src/Antiope/Messages/Types.hs:98:23: error:
• Couldn't match expected type ‘Aeson.Key’ with actual type ‘Text’
• In the first argument of ‘(.=)’, namely ‘name’
In the expression: name .= a
In the first argument of ‘Aeson.object’, namely ‘[name .= a]’
|
98 | in Aeson.object [ name .= a ]
| ^^^^
src/Antiope/Messages/Types.hs:102:9: error:
• Couldn't match expected type ‘Aeson.Key’ with actual type ‘Text’
• In the second argument of ‘(.:)’, namely ‘t’
In the first argument of ‘(>>=)’, namely ‘(o .: t)’
In the expression:
(o .: t)
>>= (either fail pure . eitherDecodeStrict . Text.encodeUtf8)
|
102 | (o .: t) >>= (either fail pure . eitherDecodeStrict . Text.encodeUtf8)
| ^
cabal: Failed to build antiope-core-7.5.3 (which is required by
exe:cabal-cache from cabal-cache-1.0.5.5). See the build log above for
details.
Failed to build antiope-messages-7.5.3 (which is required by exe:cabal-cache
from cabal-cache-1.0.5.5). See the build log above for details.
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.