Code Monkey home page Code Monkey logo

cofun's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cofun's Issues

cannot build cofun

I was having trouble building cofun. This is the output on my console

21:53:47 - ~/Programming/Haskell/cofun/code/adder
hjs@bblfish[0] (master)$ cabal install
Resolving dependencies...
Notice: installing into a sandbox located at
/Volumes/Dev/Programming/Haskell/cofun/code/sandbox
Configuring adder-0.1.0.0...
Building adder-0.1.0.0...
Failed to install adder-0.1.0.0
Build log ( /Volumes/Dev/Programming/Haskell/cofun/code/sandbox/logs/adder-0.1.0.0.log ):
Configuring adder-0.1.0.0...
Building adder-0.1.0.0...
Preprocessing library adder-0.1.0.0...
[ 2 of 15] Compiling AdderService.Functors ( src/AdderService/Functors.hs, dist/dist-sandbox-f1021f34/build/AdderService/Functors.o )

src/AdderService/Functors.hs:89:8:
    Type indexes must match class instance head
    Found ‘AdderF’ but expected ‘m’
    In the type instance declaration for ‘ClientReq’
    In the instance declaration for ‘ToNetworkClient AdderF m’

src/AdderService/Functors.hs:90:8:
    Type indexes must match class instance head
    Found ‘AdderF’ but expected ‘m’
    In the type instance declaration for ‘ClientRes’
    In the instance declaration for ‘ToNetworkClient AdderF m’

src/AdderService/Functors.hs:105:8:
    Type indexes must match class instance head
    Found ‘CoAdderF’ but expected ‘m’
    In the type instance declaration for ‘InterpreterReq’
    In the instance declaration for ‘ToNetworkInterpreter CoAdderF m’

src/AdderService/Functors.hs:106:8:
    Type indexes must match class instance head
    Found ‘CoAdderF’ but expected ‘m’
    In the type instance declaration for ‘InterpreterRes’
    In the instance declaration for ‘ToNetworkInterpreter CoAdderF m’
cabal: Error: some packages failed to install:
adder-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Coproducts over the network

Hey @dalaing, thanks for writing the great tutorial, I've learned a lot!

Do you think you'll be finishing the final part about pairing coproducts over the network? That would be very helpful if so! :)

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.