Skip to content
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

Add compatibility with Fantasy Land #69

Open
jceb opened this issue Sep 18, 2023 · 2 comments
Open

Add compatibility with Fantasy Land #69

jceb opened this issue Sep 18, 2023 · 2 comments

Comments

@jceb
Copy link

jceb commented Sep 18, 2023

It would be great if the implementation would be compatible with Fantasy Land: https://github.com/fantasyland/fantasy-land

@JSMonk
Copy link
Owner

JSMonk commented Sep 18, 2023

Yes, it sounds great. I will try to investigate it. Could you also share your opinion on what should be added or changed to be more compatible?

@jceb
Copy link
Author

jceb commented Sep 18, 2023

There's actually not too much. Fantasy Land specifies type classes and methods that are available on these type classes. Your implementation can integrate these methods and it'll be automatically compatible with other Fantasy Land implementations like Sanctuary.js. Here's Sanctuary's type class implementation: https://github.com/sanctuary-js/sanctuary-type-classes

Another example is Fluture that offers an alternative to Promises and is also compatible with Fantasy Land.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants