-
Notifications
You must be signed in to change notification settings - Fork 745
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
Updated Pselect's help to hopefully be clearer and more comprehensive. #3158
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm except for two small issues
HelpSource/Classes/Pselect.schelp
Outdated
|
||
Values from the source pattern will be passed to strong::func::. Pselect will only return that value if the strong::func:: returns true. | ||
|
||
This is the pattern libraries equivalent of link::Classes/Collection#-select#select::. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> library's
HelpSource/Classes/Pselect.schelp
Outdated
@@ -1,19 +1,23 @@ | |||
class:: Pselect | |||
summary:: Select values from a pattern | |||
summary:: Filters values from return by a source pattern. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> Filters values returned by a ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for clarity (and because they are documented in Pattern), could you mark embedInStream
and asStream
as private?
instancemethods::
PRIVATE:: asStream, embedInStream
@LFSaw those two functions aren't private, so I don't think that would be the right thing to do. |
It would be god to have a different tag for methods that aren't private but which we want to hide.
|
I think hide would be the wrong tag, as really we want this to appear as inherited instance methods, even though they've been overloaded. So I guess what you want is a way of tagging this as a method belonging to Pattern. By which I mean it's totally fine to use these methods, but it's better that people read about them in the context of Pattern, than here. |
since we agree on the values of these but start to talk about higher-level decisions, I merged. |
Just general rewrites, plus the new method wasn't properly documented for Pselect.