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

Documentation for &infix:<andthen> versus "with" is incorrect #113

Open
pmichaud opened this issue Jul 9, 2016 · 0 comments
Open

Documentation for &infix:<andthen> versus "with" is incorrect #113

pmichaud opened this issue Jul 9, 2016 · 0 comments

Comments

@pmichaud
Copy link
Contributor

pmichaud commented Jul 9, 2016

In the description of &infix:<andthen>, S03:5446 says "If you wish to have the same semantics in the opposite order, use the with statement modifier."

This is inconsistent with the description of andthen, which says that andthen returns its first undefined argument. The with statement modifier returns an empty Slip if its argument is undefined.

I suspect the description should read: "For similar semantics in the opposite order, see the with statement modifier."

I'm against changing andthen to match with semantics; andthen fills a need that with does not.

See also https://rt.perl.org/Ticket/Display.html?id=128586 .

Pm

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

1 participant