Giter Site home page Giter Site logo

MD5 doesn't typecheck about idris-crypto HOT 7 OPEN

sciadopitys avatar sciadopitys commented on September 13, 2024
MD5 doesn't typecheck

from idris-crypto.

Comments (7)

sellout avatar sellout commented on September 13, 2024

I get that same error message on OS X. Apologies. I’ll dig into it tomorrow.

from idris-crypto.

sellout avatar sellout commented on September 13, 2024

Ah, it’s the old “bound as an implicit” error.

from idris-crypto.

sellout avatar sellout commented on September 13, 2024

The quick fix is to replace dummyMD5 with Data.Crypto.Hash.MD5.dummyMD5 in all of the shouldMatch types.

Or, just comment out the shouldMatch definitions, as they’re just the tests.

But I should have a proper PR tomorrow.

from idris-crypto.

sciadopitys avatar sciadopitys commented on September 13, 2024

I replaced dummyMD5 with Data.Crypto.Hash.MD5.dummyMD5, but now it is stuck on "Type checking .\Data\Crypto\Hash\MD5.idr"

from idris-crypto.

sciadopitys avatar sciadopitys commented on September 13, 2024

Are you still working on this?

from idris-crypto.

sellout avatar sellout commented on September 13, 2024

Sorry – this is a trickier problem – there are a number of places in idris-crypto that have hit performance issues with Fin / Vect / etc. It’ll take some dedicated time to iron out, and I don’t have any at the moment.

from idris-crypto.

galtys avatar galtys commented on September 13, 2024

Hello,
I tried to build the crypto package but no luck. What are the performance issues with Fin / Vect / etc. Is it solvable? Thanks.

from idris-crypto.

Related Issues (4)

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.