Hmmm…. in RT #128757 you expect a single value to return identity, and here you 
expect it not to return it?  By the same reasoning that [/] “hello” returns 
“hello”, I think [*] set(1,2,3) should return set(1,2,3).

Or am I missing something?


> On 27 Jul 2016, at 23:29, Aleks-Daniel Jakimenko-Aleksejev (via RT) 
> <perl6-bugs-follo...@perl.org> wrote:
> 
> # New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
> # Please include the string:  [perl #128758]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/Ticket/Display.html?id=128758 >
> 
> 
> Code:
> say [*] set(1,2,3), set(4,5,6)
> 
> Result:
> 9
> 
> OK, that ↑ makes sense.
> 
> Code:
> say [*] set(1,2,3)
> 
> Result:
> set(3, 1, 2)
> 
> Huh? I expected 3.
> 
> Related: https://rt.perl.org/Ticket/Display.html?id=128757 (single arg thing
> does not really work with +)
> IRC discussion: http://irclog.perlgeek.de/perl6/2016-07-27#i_12921657

Reply via email to