Code Monkey home page Code Monkey logo

antiope's People

Contributors

alexeyraga avatar dsturnbull avatar joshgodsiff avatar newhoggy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

antiope's Issues

Doesn't build with aeson >= 2

[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.

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.