Hello folks. Did I understand correctly that this thread is about list
comprehension syntax in Perl 6? :-)
I don't if it was mentioned, but I think this syntax just simply works
already. See an example:
> say ($_~$_ if $_ %% 2 for ^10).Set
set(00 22 44 66 88)
> say ($_.item if $_[0] eq 'a'
I doubt the name is "up for discussion" just because there's a blog
post about it. The name ain't changing ever, or at least that's how I
understand things. But, please, feel free to correct me if I'm wrong.
Sure, you can have as many alternative nicknames and aliases as you
want (for marketing pu
Hi. I narrowed the code to this snippet, I hope it helps. It segfault
in my x86 32bit machine.
The subroutine below is nonsensical and should be an infinite
recursion, but it triggers the segfault bug and halts the program.
So, if this doesn't trigger the segfault in your machine, remember to
type
I found this results that may be related to this issue.
Maybe there's some strange interaction between these List methods?
> my @a := [0..2, 0..2].flat.cache; say @a
(a b c a b c)
> my @a := [0..2, 0..2].flat.cache; @a.Bool; @a.elems; say @a
(a a b c)
> my @a := [0..2, 0..2].flat.cache