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
Sequences with strings and a Code stopping condition go backwards in Rakudo #3086
Comments
From @masak<masak> rn: say .[*-1] given "perl" ... { 3 == ++state $ } I'm just assuming this isn't spec'd behavior. I like Niecza's |
From @pmichaudOn Fri, Mar 22, 2013 at 03:31:57PM -0700, Carl Mäsak wrote:
S03 has: For functions deduced when there is only one value on the left, Rakudo evaluates C< "perl" cmp { ... } > as C<Order::Decrease>, So, one of the following: Pm |
The RT System itself - Status changed from 'new' to 'open' |
From @masakPm (>):
Aye. That's clearly to spec.
&infix:<cmp> is consistent the way it is, but it's a consistency that
This alternative makes sense to me. It's similar to how &infix:<...>
No. :)
I'm very satisfied with how the sequence spec has turned out. It's |
From @pmichaudOn Sat, Mar 23, 2013 at 07:50:55AM -0700, Carl Mäsak via RT wrote:
Similar, yes, but also a little "off". In the case of "perl" ... * , I'm wondering if Code objects just shouldn't participate in And also if there ought to be something akin to an Order::None Either of these might help to more cleanly get the &infix:<...> Pm |
From @geekosaurOn Sat, Mar 23, 2013 at 12:16 PM, Patrick R. Michaud <pmichaud@pobox.com>wrote:
Order::NonComparable, possibly which behaves as a (delayed?) exception of -- |
From @diakopterworks like niecza did, now |
@diakopter - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#117307 (status was 'resolved')
Searchable as RT117307$
The text was updated successfully, but these errors were encountered: