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

provide a placeholder value #82

Merged
merged 1 commit into from
Oct 1, 2016
Merged

provide a placeholder value #82

merged 1 commit into from
Oct 1, 2016

Conversation

davidchambers
Copy link
Member

With sanctuary-js/sanctuary#216, Sanctuary is becoming more an alternative to Ramda rather than a complement. It doesn't make sense to continue to rely on Ramda to provide the placeholder value. I found myself defining S.__ but then realized that the placeholder should be defined here since it is sanctuary-def which actually makes use of it. It's probably still a good idea to define S.__, but we can simply make it an 👽 once $.__ is defined.

[9]: http://ramdajs.com/docs/#toString
[10]: https://en.wikipedia.org/wiki/Semigroup
[11]: https://github.com/fantasyland/fantasy-land#semigroup
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change them to some non number (NaN :D) values so we don't need to update all of them when one link is removed/added, as in sanctuary-type-classes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I'll do so now in a separate pull request.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#84

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased this branch after merging #84. The changes to README.md are much clearer now. Would you mind having another look?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! looks good

@davidchambers davidchambers merged commit b533696 into master Oct 1, 2016
@davidchambers davidchambers deleted the dc-placeholder branch October 1, 2016 13:28
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

Successfully merging this pull request may close these issues.

2 participants