Giter VIP home page Giter VIP logo

data-haskell-challenge's People

Contributors

jeffreybenjaminbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

data-haskell-challenge's Issues

in via-opaleye, "No instance for (Default Unpackspec (Item O) (Item O))"

When I try to run this Opaleye solution I get the following error:

jeff@jeff-ThinkCentre-M700:~/data-haskell/challenge/via-opaleye$ stack ghci
via-opaleye-0.1.0.0: configure (lib)
Configuring via-opaleye-0.1.0.0...
via-opaleye-0.1.0.0: initial-build-steps (lib)
Configuring GHCi with the following packages: via-opaleye
GHCi, version 8.4.4: http://www.haskell.org/ghc/  :? for help
[1 of 1] Compiling Lib              ( /home/jeff/data-haskell/challenge/via-opaleye/src/Lib.hs, interpreted )

/home/jeff/data-haskell/challenge/via-opaleye/src/Lib.hs:56:15: error:
    • No instance for (Default Unpackspec (Item O) (Item O))
        arising from a use of ‘selectTable’
    • In the expression: selectTable items
      In the command: selectTable items -< ()
      In a stmt of a 'do' block in an arrow command:
        item <- selectTable items -< ()
   |
56 |   item     <- selectTable items -< ()
   |               ^^^^^^^^^^^^^^^^^

/home/jeff/data-haskell/challenge/via-opaleye/src/Lib.hs:57:15: error:
    • No instance for (Default Unpackspec (Purchase O) (Purchase O))
        arising from a use of ‘selectTable’
    • In the expression: selectTable purchases
      In the command: selectTable purchases -< ()
      In a stmt of a 'do' block in an arrow command:
        purchase <- selectTable purchases -< ()
   |
57 |   purchase <- selectTable purchases -< ()
   |               ^^^^^^^^^^^^^^^^^^^^^
Failed, no modules loaded.

<no location info>: error:
    Could not find module ‘Lib’
    It is not a module in the current program, or in any known package.
Loaded GHCi configuration from /tmp/haskell-stack-ghci/c6e38927/ghci-script
Prelude> 

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.