pragma icon indicating copy to clipboard operation
pragma copied to clipboard

Upgrade @aantron/repromise to reason-promise

Open aantron opened this issue 6 years ago • 1 comments

Repromise became reason-promise in 1.0.0. The API was renamed (e.g., Repromise.wait is now Promise.get), rearranged to prefer -> instead of |>, and helpers were added for Result and Option, as well as some miscellaneous ones. In particular, the addition of mapOk, tapOk, flatMapOk, mapSome, and Promise.Js.toResult has made Promises.re redundant, so I've removed it.

The bundle size of reason-promise was reduced to 1K. See the changelog here; there are also two subsequent bugfix releases.

aantron avatar Feb 03 '20 05:02 aantron

Hey @aantron thank you for your work on this!

pascalw avatar Feb 09 '20 16:02 pascalw