-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
final release #157
Comments
Go go go 👌 |
🌿 |
I'd just like to say thanks to the contributors for having done this in the first place - I found the ramda-fantasy implementations, and especially the documentation, a great help in understanding some of the different ADTs. (I also miss its presence from the Ramda REPL!) |
@davidchambers Could you share links of possible libraries one should use for new projects? |
Here are the proposed alternatives:
† Currently only available as part of Sanctuary. |
The library has been deprecated by its author in favour of the other ADT options available. ramda/ramda-fantasy#157
All PRs other than #131 have been merged. I'll go ahead and release |
Thanks @scott-christopher ! |
Until sanctuary-maybe and sanctuary-either are available, what should I use for new projects? I prefer ramda over sanctuary .. I would rather not install sanctuary just to have Maybe & Either .. Any thoughts on that? |
you can keep using RF, but it will not be getting further upgrades (unless someone else takes it up); or you can try folktale as well: |
Just to mention folktale-2.0.0 (http://folktale.origamitower.com/) released on 2017-07-11 has breaking changes in its API:
Both are "stable" in their stability index. |
HI guys, just wanted to mention this library that seems to do a whole lot of fp stuff but barely anyone notices: urbandrone/futils it even has transducers and trampolining. let me know what you think. |
@niksosf thanks for the heads up, i'll keep an eye on it |
Seems there is no a consistent library to use for FP. Regards |
@danielo515: Please note several things
|
Thanks for your suggestions. I think that as long as the types implements the fantasyland specification and the functions can understand them I'll be fine. However libraries like folktale seems to be on it's own way. Am I right? |
You can require or import Ramda functions individually:
Or you could probably use some tree-shaking code against the whole Ramda export. For Folktale, as far as I know, they still support the FantasyLand specifications.. |
Over the past few days I have published these packages:
|
The Ramda team has decided that this library is no longer serving the JavaScript FP community well. It has not kept up with changes to the Fantasy Land spec, and many of the data types lack useful features available in other libraries.
The consensus among the Fantasy Land team is that the proliferation of implementations of the same handful of algebraic data types is a trend which should be reversed. The more implementations of an ADT exist, the more unlawful implementations are likely to exist. Furthermore, it's impractical to mix and match implementations, resulting in functions such as this:
There are, though, a number of people using ramda-fantasy. We wish to wind down this project without affecting these users, so of course the npm releases will remain available indefinitely. Furthermore, @scott-christopher has suggested merging some of the open pull requests and making one final release. I think this is an excellent idea.
In fact, I suggest going one step further. What do people think of this approach?
/cc @SimonRichardson
The text was updated successfully, but these errors were encountered: