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
doc >>. on lists of Callables #1643
Comments
|
That's not a special construct, but a combination of these features:
@foo»[0] # works
@foo».[0] # works
@foo»{"a"} # works
@foo».{"a"} # works
@foo»<a> # works
@foo».<a> # works
@foo»() # does NOT work, for some reason - bug?
@foo».() # worksNo.3 should be documented in operators#Hyper_Operators, which already documents hypered postfix operators and method calls. (There's also this section, which is a bit dubious because that's not actually an operator as such.) |
not sure about above, it may be wrong. However, Not a bug I think |
Shouldn't it turn into Also, it looks like what's currently happening is even weirder: |
|
@smls I am going to rakudo to find out how above seems |
|
take a look at examples below 13:35 | wander | m: sub see-what-pass { dd @; }; [1,2,3]>>( &see-what-pass ); so, normally use |
|
@gfldex I think "doc >>. on lists of Callables" is not so different from examples existing. see but if you find it worth to add new examples, you can do it by yourself and send a PR. |
|
@AlexDaniel , I don't think we have to document ">>. on lists of Callables". Because it's no more than [obj1, obj2, ...]>>.method And we may be going to rearrange the doc in a few days, so keep the doc from redundant. To sum up, this issue can be closed. |
The text was updated successfully, but these errors were encountered: