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

Clarify chaining docs again #760

Closed
hnordt opened this issue Sep 5, 2012 · 1 comment
Closed

Clarify chaining docs again #760

hnordt opened this issue Sep 5, 2012 · 1 comment

Comments

@hnordt
Copy link

hnordt commented Sep 5, 2012

With v1.2.4 you can now write _.chain(list) instead _(list).chain()

The sentence:

"Calling chain on a wrapped object will cause all future method calls to return wrapped objects as well. When you've finished the computation, use value to retrieve the final value."

Should be modified to something like:

"Calling chain will cause all future method calls to return wrapped objects. When you've finished the computation, use value to retrieve the final value."

Because with the first sentence we can misinterpret that we can only use chain in "wrapped mode" (_(list).chain())

@jashkenas
Copy link
Owner

Good point -- thanks!

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

2 participants