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

Is fn.js compatible with the Fantasy Land specification? #18

Closed
cgarciae opened this issue May 12, 2014 · 2 comments
Closed

Is fn.js compatible with the Fantasy Land specification? #18

cgarciae opened this issue May 12, 2014 · 2 comments

Comments

@cgarciae
Copy link

Guys at Fantasy Land made a specification for Algebraic objects in JavaScript. https://github.com/fantasyland/fantasy-land

It helps a lot to understand how to organize objects so the library can act upon them, its also good that teaches functional programming concepts. However, they have no documentation for their modules. I would like to know if this library is compliant so I can read the concepts there and but use the functions over here.

Thanks!

@eliperelman
Copy link
Collaborator

@cgarciae I really like the topic that fantasy-land has presented there. I believe that monads and functors are an important part of functional programming in JS, so much so that I had started implementation on many of those functions in the initial release of fn.js. Unfortunately the scope was very large and I wanted to get something usable out in the open, and I removed that stuff from the core.

I would love to see this functionality make it into the core of fn.js and will open an issue to track it. Technically the concepts presented there should be possible, with the exception that their basis is often made from stateful objects which I would avoid using with fn.js.

@eliperelman
Copy link
Collaborator

Closing this as there currently is no monadic or functoral methods in fn.js. To be implemented with #19.

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