Giter Club home page Giter Club logo

Comments (4)

hsyl20 avatar hsyl20 commented on August 17, 2024

I have added the missing instances (cf 971cfd8) and released haskus-utils-variant-2.6.1

You have to add Eq1 instances for your functors (ValF, EmptyNoteF) similarly to what I've done in the test here: 971cfd8#diff-098a4303323c6f5065eca85c4601d802R62

from packages.

pcarbonn avatar pcarbonn commented on August 17, 2024

Terrific ! You are a genius.

When I upgrade from 2.4 to 2.6, I get an error message because of AlgVariantF has an extra parameter "r" in the 3rd place since 2.5. Apparently, I have to duplicate the type of the result of the algebra.
However, documentation does not seem to be updated.

from packages.

hsyl20 avatar hsyl20 commented on August 17, 2024

Thanks for your comment! It forced me to give more thoughts to what we are doing with those algebras. Hence I have completely removed the ad-hoc AlgVariantF/EADT things and replaced them with AlgebraC,Algebras, fromAlgebraC and fromAlgebras as briefly documented here

I have added some EADT tests that also show how to use them.

I still need to update the documentation and to make a release but if you can give me your feedback on this approach beforehand it would be better (less releases on Hackage...). Thanks!

from packages.

pcarbonn avatar pcarbonn commented on August 17, 2024

from packages.

Related Issues (20)

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.