Comments (6)
The versions of the dependencies that I have installed:
ghc-prim-0.2.0.0
vector-0.10.0.1
from constraintkinds.
Update:
both can be fixed by explicitly adding type FunctorConstraint [] x = ()
and type TraversableConstraint [] x = ()
in the respective instance declarations.
(At least, it compiles and should have the intended result.)
from constraintkinds.
I've made your adjustments and uploaded a new version to hackage. Think you could try it out for me and verify it works? If not, could you do a pull request with whatever changes you made?
Thanks.
from constraintkinds.
Thank you, it worked.
from constraintkinds.
Or not. It does compile, but when trying to install HLearn-algebra (both from Hackage and GitHub), I now get the following:
Configuring HLearn-algebra-0.0.1...
Building HLearn-algebra-0.0.1...
Preprocessing library HLearn-algebra-0.0.1...
[1 of 4] Compiling HLearn.Algebra.Structures ( src/HLearn/Algebra/Structures.hs, dist/build/HLearn/Algebra/Structures.o )
[2 of 4] Compiling HLearn.Algebra.Functions ( src/HLearn/Algebra/Functions.hs, dist/build/HLearn/Algebra/Functions.o )
/Users/mrueg/Library/Haskell/ghc-7.4.2/lib/ConstraintKinds-0.0.1.2/lib/Control/ConstraintKinds/Foldable.hi
Declaration for R:FoldableConstraint[]x:
Iface type variable out of scope: x
Cannot continue after interface file error
Installing HLearn-algebra works after adding, similar to the changes before:
type FoldableConstraint [] x = ()
toinstance Foldable []
andtype FoldableConstraint V.Vector x = ()
toFoldable V.Vector
from constraintkinds.
Should be fixed now.
from constraintkinds.
Related Issues (9)
- Compilation error "Could not deduce (FunctorConstraint [] a, "... HOT 5
- 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
- Not in scope: FunctorConstraint HOT 1
- Library is depricated, do not use
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.