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
HyperWhatever does not work with reduction metaop ([+] **) #6015
Comments
From @AlexDanielCode: Result: I guess it is supposed to work? |
From @cokeOn Thu, 19 Jan 2017 18:10:27 -0800, alex.jakimenko@gmail.com wrote:
Why? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielGut feeling. On 2017-01-20 08:17:06, coke wrote:
|
From @zoffixznetOn Thu, 19 Jan 2017 18:10:27 -0800, alex.jakimenko@gmail.com wrote:
Isn't this the case where HyperWhatever is used as a term by itself, so you're passing it itself to [+] metaop and doesn't curry and hence its complaining. Same's with regular Whatever: <Zoffix> m: dd ([+] *)(42) Also, I believe HyperWhatever doesn't just slurp the args and sub them in its place, but rather performs the operation for each of them. It basically curries into `sub (*@_) { map &c, @_ }`, where &c is he "curry": So even if it curried in the OP example, it'd just return the same seq back, since the [+] would be called with 1 arg each time. |
From @AlexDanielThis makes sense. On 2017-01-20 09:54:37, cpan@zoffix.com wrote:
|
From @moritzWhatever and HyperWhatever doesn't behave magically inside of an argument list, so I see no bug here. |
@moritz - Status changed from 'open' to 'rejected' |
Migrated from rt.perl.org#130590 (status was 'rejected')
Searchable as RT130590$
The text was updated successfully, but these errors were encountered: