On Thu, 11 Aug 2016 06:14:52 -0700, sml...@gmail.com wrote:
> You're right, that one *is* inconsistent with `True but False`.
>
> `$bool1 but $bool2` and `$int1 but $int2` should either both override
> the value, or both *not* override the value.
There's actually no inconsistency and the infix:
# New Ticket Created by Itsuki Toyota
# Please include the string: [perl #130187]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130187 >
See the following codes and results:
*** codes ***
* t/05-pointer.c
#include
#in
A fair point. Re-opening with the intent to make synthetic digits match the
same way as punctuation.
I tried a few implementations, like changing the .comb to
.comb(/:r ‘*’ || [(\d)
]+ || <.alpha>+ /)
But all of them ended up being 10 to 64 times slower than just regular \d+.
By defin
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130186]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130186 >
*Code:*
dd ‘789’.comb(/ . {say $/} /)'
*Result:*
「7」
「7」
「7」
slip()
On Sat, 26 Nov 2016 15:47:38 -0800, comdog wrote:
> Adapted from the Stackoverflow answer at:
> http://stackoverflow.com/a/40824226/2766176
>
> I'm using moar (2016.10) on macosx (10.10.5) darwin (14.5.0) (These
> variables are quite nice!)
>
> This came out of a problem I had with set membership
# New Ticket Created by "brian d foy"
# Please include the string: [perl #130185]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130185 >
Here's a short Perl 6 program that declare a `MAIN` subroutine. I
should only see output
# New Ticket Created by "brian d foy"
# Please include the string: [perl #130184]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130184 >
Adapted from the Stackoverflow answer at:
http://stackoverflow.com/a/40824226/2766176
I
Zoffix Znet via RT wrote:
>Thanks for the report, however, there's no bug here, as strings are valid
>version parts, which is what the diaeresis causes the part to parse as
>(as opposed to numbers).
I'm aware that non-numeric parts are permitted, but the behaviour here
doesn't seem to be consisten
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #130183]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130183 >
In this small example, I get an exception where I don't expect one:
role LL[::T] {
ha
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130182]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130182 >
*Code:*
sub foo(True) { say ‘ok’ };
foo(False)
*Result:*
ok
The re
Just read this:
https://www.codeproject.com/articles/1091356/the-elegant-code-i-wish-i-can-write-in-csharp
Which is a very nice overview of F# and functional programming - it starts
w/ this
// F# Quicksortlet rec quicksort = function
| [] -> []
| x :: xs ->
let smaller = List.
# New Ticket Created by Tobias Leich
# Please include the string: [perl #130181]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130181 >
say Int.new.WHAT.::
rakudo-moar 7c5ea3: OUTPUT«===SORRY!===MVMArray: Can't pop from an
On Tue, 05 Jul 2016 09:52:46 -0700, zef...@fysh.org wrote:
> The Version class accepts numeric components that contain digits with
> diacritics, and faithfully preserves the grapheme string just as it
> preserves non-ASCII digits. But these components then behave badly
> in comparisons:
>
> > Ver
On Mon, 13 Jun 2016 03:20:34 -0700, zef...@fysh.org wrote:
> > my $a = 0.Num
> 0
> > my $b = -$a
> -0
> > $a
> 0
> > $b
> -0
> > $a.WHICH
> Num|0
> > $b.WHICH
> Num|-0
> > atan2($a, -1)
> 3.14159265358979
> > atan2($b, -1)
> -3.14159265358979
> > $a === $b
> True
>
> These two values, the two floa
14 matches
Mail list logo