Re: list comprehension

2019-02-22 Thread Lucas Buchala
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'

Re: Naming debate- what's the location for it?

2018-02-09 Thread Lucas Buchala
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

Re: [perl #130294] [BUG] native 2d array example SEGV's

2016-12-20 Thread Lucas Buchala
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

Re: [perl #130160] [BUG] Flattened list iteration

2016-11-24 Thread Lucas Buchala
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