Git Product home page Git Product logo

Comments (6)

mruegenberg avatar mruegenberg commented on July 18, 2024

The versions of the dependencies that I have installed:
ghc-prim-0.2.0.0
vector-0.10.0.1

from constraintkinds.

mruegenberg avatar mruegenberg commented on July 18, 2024

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.

mikeizbicki avatar mikeizbicki commented on July 18, 2024

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.

mruegenberg avatar mruegenberg commented on July 18, 2024

Thank you, it worked.

from constraintkinds.

mruegenberg avatar mruegenberg commented on July 18, 2024

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 = () to instance Foldable [] and
  • type FoldableConstraint V.Vector x = () to Foldable V.Vector

from constraintkinds.

mikeizbicki avatar mikeizbicki commented on July 18, 2024

Should be fixed now.

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.