Git Product home page Git Product logo

Comments (5)

mikeizbicki avatar mikeizbicki commented on August 17, 2024

I'm on ghc 7.6 and it works fine. IIRC, the traverse class is not actually required for the functionality in hlearn-distributions. So if you can't upgrade, you could download the repository, remove that from the cabal file, install, then download hlearn-distributions like normal.

from constraintkinds.

aaronmcdaid avatar aaronmcdaid commented on August 17, 2024

I have a different issue now. I upgraded to ghc 7.6.1 and installed ConstraintKinds. Thanks! But now I'm having trouble with the Gaussian model in hlearn-distributions. Perhaps I should report this bug to the github page for hlearn-distributions. Anyway, it can't find Unbox'. This is version 0.0.1.1, as found via the cabal.

[3 of 4] Compiling HLearn.Models.Distributions.Gaussian ( src/HLearn/Models/Distributions/Gaussian.lhs, dist/build/HLearn/Models/Distributions/Gaussian.o )

src/HLearn/Models/Distributions/Gaussian.lhs:187:33:
    Not in scope: type constructor or class Unbox'
    Perhaps you meant `U.Unbox' (imported from Data.Vector.Unboxed)

from constraintkinds.

mikeizbicki avatar mikeizbicki commented on August 17, 2024

Interesting. Hackage is getting the same error when it compiles it, but on my system I can do

cabal install HLearn-distributions

and everything works just fine. There must be some dependency snag that I have installed, that didn't make it into the cabal file, but for some reason cabal was still willing to accept that all the dependencies were met.

I'll look into this in more detail, but this coming week is really busy for me so I can't promise when I'll figure it out.

from constraintkinds.

mikeizbicki avatar mikeizbicki commented on August 17, 2024

Someone else pointed out the problem was with an interface change in the vector-th-unbox package. I've updated the dependency list to reflect this, and re-uploaded to hackage. So hopefully is should work now.

from constraintkinds.

aaronmcdaid avatar aaronmcdaid commented on August 17, 2024

Excellent! That worked. Closing.

from constraintkinds.

Related Issues (9)

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.