Comments (5)
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.
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.
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.
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.
Excellent! That worked. Closing.
from constraintkinds.
Related Issues (9)
- Not in scope: FunctorConstraint HOT 1
- Library is depricated, do not use
- Compilation fails with GHC 7.4.2 HOT 6
- what laws does pointed obey? HOT 3
- Errors in installing ConstraintKinds 1.1.0.0 with cabal 1.20.0.1 and ghc 7.8.2 HOT 4
- Please add support for recent versions of dlist HOT 4
- ...mtl instances? HOT 1
- Build error on Ubuntu with LTS 3.20 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from constraintkinds.