ramda / ramda-fantasy

:ram::sparkles: Fantasy-Land compatible types for easy integration with Ramda.js
MIT License
1.5k stars 95 forks source link

Add Future#fromPromise #164

Closed alexandrethsilva closed 7 years ago

alexandrethsilva commented 7 years ago

Hi guys, I was discussing with @gunar about how Ramda-Fantasy'sFuture compares to Folktale's and he mentioned that it was unfortunate that there's no Future.fromPromise.

It got me thinking if that's because the lib wants to stick to a strictly FP-like interface–i.e. implement only the functionality expected from the respective Types and leave the rest to whomever is consuming them–or if there's space for a PR implementing this?

Of course we can always just make a wrapper ourselves, but I thought it could be a handy method for many?

I could give it a try in case there is, but thought of first opening an issue to get your input.

CrossEye commented 7 years ago

Please see #157. This project is closing down, with a number of great alternatives available.

gunar commented 7 years ago

@alexandrethsilva Yup, that's what I figured

alexandrethsilva commented 7 years ago

@CrossEye thanks for pointing that out!

buzzdecafe commented 7 years ago

Also check out Fluture