Giter VIP home page Giter VIP logo

base-prelude's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

base-prelude's Issues

base-4.9 changes

  1. New module: Control.Monad.IO.Class
  2. New modules: Data.List.NonEmpty and Data.Semigroup
  3. New modules: Data.Functor.Classes, Data.Functor.Compose, Data.Functor.Product, and Data.Functor.Sum
  4. New module: Control.Monad.Fail
  5. traceM, traceShowM (which we reimplement) have been generalised to Applicative – should we generalise them as well for older versions of base, or not? (I lean towards “not”, because together with #15 it would lead to weirdness – traceM would have an Applicative constraint when base-4.6 is used, Monad when base-4.7 is used, and Applicative again when base-4.9 is used.)
  6. New function: forkOSWithUnmask (could be reimplemented)

base-prelude violates the PVP

I appears as if BasePrelude violates the PVP contract by advertising a version 1.0.1 and yet exposing a greatly fluctuating API (and not even placing a sensible upper bound on base anymore to contain the risk).

I'd like to remind that https://hackage.haskell.org/ states that "All packages should follow the Package Versioning Policy (PVP)." and base-prelude does not state in its description that it deviates from the PVP contract.

I'm worried because packages on Hackage are starting to make use of base-prelude and without proper guidance that will cause more busywork for Hackage Trustees to keep install-plans from bitrotting due to inaccurate version-bounds.

id and (.) are ambiguous

I'm using GHC 7.10.3 I don't know if it's a regression or not but they are already in the Prelude, so they need hidding.

FilePath not exported

My understanding is that base-prelude is meant to be mostly a drop in for Prelude. Prelude exports FilePath, but base-prelude explicitly hides this. Is there any reason for that?

Missing changes from base-4.8 and 4.7

base-4.8:

  • Numeric.Natural
  • Data.Void (moved from void)
  • Data.Functor.Identity (moved from transformers)

base-4.7:

  • Data.Proxy
  • Data.Coerce
  • void was added (could be reimplemented)
  • isLeft, isRight were added (could be reimplemented)

Should I make a PR?

No re-export of Data.Bifunctor

There don't appear to be any clashes, and this is a very useful thing to have available. Why not re-export it as well?

`printf` isn't exported

(I like printf, but if you have intentionally decided not to export it, I won't complain. Otherwise, having it would be nice.)

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.