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
Can't define custom flat prefix op with pipe #4328
Comments
From @labster07:02 labster m: multi sub prefix:<|> (\a) { a.flat }; say Expected, one of: Maybe this should be notabug, but if so I'd like an explanation as to why |
From @pmichaudOn Tue, Jun 16, 2015 at 09:28:28PM -0700, Brent Laabs wrote:
Unary | already has a defined syntactic meaning in Perl 6 (argument In Rakudo unary | is a syntactic construct that can't be overloaded. So, notabug. :) Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @pmichaudOn Wed, Jun 17, 2015 at 12:24:04AM -0500, Patrick R. Michaud wrote:
More directly to the comment about unary | possibly working outside of Pm |
From @jnthnOn Tue Jun 16 22:24:27 2015, pmichaud wrote:
Agree "notabug" in that sense. However, we can always go above and beyond that and note that such a thing will never work out. Now it does this: $ perl6-m -e "multi sub prefix:<|> (\a) { a.flat }" Tested in S32-exceptions/misc.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125427 (status was 'resolved')
Searchable as RT125427$
The text was updated successfully, but these errors were encountered: