Coder Social home page Coder Social logo

Comments (9)

TeofilC avatar TeofilC commented on July 17, 2024 1

Oh, I see! To my defence, this was 5 months ago. :)

Indeed! No harm done in any case

Would you suggest a release after the deepseq bound bump or is it relevant only for HEAD users for now?

deepseq-1.5 seems to be included in GHC 9.8.1, so a release at some point would be good, but no rush. It's early days still

https://gitlab.haskell.org/ghc/ghc/-/wikis/commentary/libraries/version-history#:~:text=deepseq-,1.5.0.0,-1.4.8.1

from enummapset.

TeofilC avatar TeofilC commented on July 17, 2024

Thanks for following up on this! I think this should be a clean fix. Though it will mean older GHCs get a warning for hiding a non-existent import. If you'd prefer to avoid that, I'd be happy to write up a patch that uses a qualified import to get foldl' instead

from enummapset.

Mikolaj avatar Mikolaj commented on July 17, 2024

Yay, that's very generous of you. Full disclosure, though: this library is much less used than it should be. :) So your effort will not have as huge an impact as it should have. On the other hand, this is a high-level library for people that want their code to be cleaner, easier to read and safer, so having it emit warnings (I wonder if it does currently?) is a bit iffy. Your call. :)

from enummapset.

TeofilC avatar TeofilC commented on July 17, 2024

I was just about to implement this, but to my surprise the library already builds with GHC HEAD.

It turns out this was already done with this MR: #20
I think the head.hackage patch only exists because there hasn't been a release since then.

It did make me realise that the deepseq bound needs to be relaxed so I'll make an MR for that.

from enummapset.

Mikolaj avatar Mikolaj commented on July 17, 2024

Oh, I see! To my defence, this was 5 months ago. :)

Would you suggest a release after the deepseq bound bump or is it relevant only for HEAD users for now?

from enummapset.

Mikolaj avatar Mikolaj commented on July 17, 2024

Released: https://hackage.haskell.org/package/enummapset-0.7.2.0

I guess the head.hackage patch is now spurious?

from enummapset.

TeofilC avatar TeofilC commented on July 17, 2024

Thanks! Yes I think it can be safely removed now (or maybe the index-state also needs to be bumped on head.hackage at the same time -- not sure)

from enummapset.

TeofilC avatar TeofilC commented on July 17, 2024

Head.hackage MR: https://gitlab.haskell.org/ghc/head.hackage/-/merge_requests/342

from enummapset.

Mikolaj avatar Mikolaj commented on July 17, 2024

Thanks again. Closing.

from enummapset.

Related Issues (10)

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.