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

Fantasy land support #13

Open
mnn opened this issue Nov 7, 2016 · 6 comments
Open

Fantasy land support #13

mnn opened this issue Nov 7, 2016 · 6 comments

Comments

@mnn
Copy link

mnn commented Nov 7, 2016

This library looks nice (I like Scala, so that may be the reason 😀). I recommend to take a look at fantasy-land and consider implementing support for it (if it is possible, I really don't understand it that well). monapt cound be then used with fantasy-land-compatible libraries like quite popular ramda.

@jklmli
Copy link
Owner

jklmli commented Dec 12, 2016

Interesting, I've heard of fantasy-land before but not ramda.
I don't have much experience with either tool though.

Maybe someone else can weigh in on if it's useful/possible to implement a small subset on the fantasy-land spec. If so, we could consider adding a fantasy-land wrapper API on top of the current monapt API.

@OliverJAsh
Copy link

👍 , this would be useful. For example, if I wanted to use Ramda’s sequence.

@OliverJAsh
Copy link

Other "Maybe/Option in JS" libraries that do provide fantasy-land compatibility;

@jklmli
Copy link
Owner

jklmli commented May 22, 2017

@jklmli
Copy link
Owner

jklmli commented May 22, 2017

IIRC protected methods in TypeScript aren't actually hidden, so we might be able to support fantasy-land compatibility without changing the public API.

@jklmli
Copy link
Owner

jklmli commented May 24, 2017

Also wanted to mention - 1.0 is nearly ready for release! The code has been drastically simplified with more modern tooling, take a look here: https://github.com/jiaweihli/monapt/tree/1.0

Adding fantasy-land support would be right after, in 1.1.

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

No branches or pull requests

3 participants