Giter VIP home page Giter VIP logo

bs-promise's People

Contributors

cullophid avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

bs-promise's Issues

Off-by-one error (in the grand scheme of things I mean ;))

Hi!

Just came across this, and was wondering what your plans are for it.

I'm sure you know of Js.Promise (and its shortcomings), and while I like the API of this, it unfortunately isn't sound. JS Promises aren't (quite) monadic, by design, and treating them as such will lead to problems in certain edge cases. (And if you can't really trust them, what's the point of monads and type-driven design?)

I'm pretty sure we're going to have monadic promises via Lwt in the not too distant future. So I'm wondering what pains this solves for you, and if you really think it's worth the churn of adding another promise library with unclear trade-offs. Could your pain be (sufficiently) eased by upstreaming the sound parts of this, or perhaps by making a temporary Lwt-compatible adapter-layer instead?

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.