Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
On 2017-07-21 1:33 PM, Elizabeth Mattijsen wrote: On 21 Jul 2017, at 21:30, Darren Duncan wrote: Firstly, I believe ∆ (U+2206) is the standard symbol for symmetric difference, and not circled minus as the above url currently gives. https://en.wikipedia.org/wiki/Symmetric_difference seems to a

Re: set (+) set = bag ?

2017-07-21 Thread Elizabeth Mattijsen
> On 21 Jul 2017, at 21:30, Darren Duncan wrote: > > On 2017-07-21 5:07 AM, Timo Paulssen wrote: >> You want (|) to get the union of two sets as a set. >> >> https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators >> >> hth >> - Timo > > Right. Every set operation except 1 (multiset s

[perl #127845] [BUG] Making a parameter of a BUILD submethod a uint8 triggers a bytecode validation error in Rakudo

2017-07-21 Thread Jan-Olof Hendig via RT
On Wed, 06 Apr 2016 01:30:45 -0700, masak wrote: > m: class A { has uint8 $.x; submethod BUILD(:$!x) { } }; > A.new(:x(5)).perl.say # but..? > rakudo-moar c8ec5a: OUTPUT«Cannot modify an immutable uint8␤ > in submethod BUILD [...]» > m: class A { has uint8 $.x; submethod BUILD(uint8 :$!x) { } >

[perl #126927] [BUG] Spurious warning when trying to smartmatch num64 against Num in Rakudo

2017-07-21 Thread Jan-Olof Hendig via RT
On Tue, 15 Dec 2015 12:36:13 -0800, steve.mynott+bitc...@gmail.com wrote: > Bisected to f457007181bb6e2dcb6aefe857f36d648ae38401 This was fixed with https://github.com/rakudo/rakudo/commit/cff3437de58ef36a9a2a84915ee9181643af4348. Tests needed

Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
On 2017-07-21 12:30 PM, Darren Duncan wrote: On 2017-07-21 5:07 AM, Timo Paulssen wrote: You want (|) to get the union of two sets as a set. https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators hth - Timo Right. Every set operation except 1 (multiset sum) should result in a set,

[perl #126642] [BUG] UInt:D parameter fails in a multi

2017-07-21 Thread Jan-Olof Hendig via RT
On Sat, 14 Nov 2015 14:06:52 -0800, grond...@yahoo.fr wrote: > $ perl6 --version > This is perl6 version 2015.10-294-gcc1ba30 built on MoarVM version > 2015.10-92-g0181385 > > $ perl6 -e 'multi f(UInt:D $) { say "ok" }; f(1);' > ===SORRY!=== > Invocant requires an instance of type Int, but a type

[perl #126825] [BUG]Ambiguous duplicate signature conflict on Complex.round

2017-07-21 Thread Jan-Olof Hendig via RT
On Sat, 05 Dec 2015 15:35:20 -0800, thundergnat wrote: > Tests added https://github.com/perl6/roast/commit/c02bf4bc79 > > > > On Sat Dec 05 15:00:52 2015, elizabeth wrote: > > Fixed with fdec6278bf3dbcfa850a688, tests are still needed > > > > > On 05 Dec 2015, at 22:21, Steve Schulze (via RT)

Re: set (+) set = bag ?

2017-07-21 Thread Darren Duncan
On 2017-07-21 5:07 AM, Timo Paulssen wrote: You want (|) to get the union of two sets as a set. https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators hth - Timo Right. Every set operation except 1 (multiset sum) should result in a set, and is just a special case of the same behavi

[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Zoffix Znet via RT
On Fri, 21 Jul 2017 07:30:38 -0700, comdog wrote: > When I run perl6-debug-m from the Rakudo Star, I get this error: > > $ perl6-debug-m test.p6 > Cannot find method 'setlang' on object of type Perl6::HookGrammar >at gen/moar/perl6-debug.nqp:407 > (/Applications/Rakudo/share/perl6/runtime/perl

[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Zoffix Znet via RT
On Fri, 21 Jul 2017 07:30:38 -0700, comdog wrote: > When I run perl6-debug-m from the Rakudo Star, I get this error: > > $ perl6-debug-m test.p6 > Cannot find method 'setlang' on object of type Perl6::HookGrammar >at gen/moar/perl6-debug.nqp:407 > (/Applications/Rakudo/share/perl6/runtime/perl

Re: [perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Timo Paulssen via RT
Already fixed in newer versions

Re: [perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread Timo Paulssen
Already fixed in newer versions

[perl #131776] perl6-debug-m can't setlang on object of type Perl6::HookGrammar

2017-07-21 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #131776] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131776 > When I run perl6-debug-m from the Rakudo Star, I get this error: $ perl6-debug-m te

Re: set (+) set = bag ?

2017-07-21 Thread Gabor Szabo
On Fri, Jul 21, 2017 at 2:07 PM, Timo Paulssen wrote: > You want (|) to get the union of two sets as a set. > > https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators > > hth > - Timo Oh thanks. Now I see there is also a link just under the "Operators" section of the Set article. I might

Re: set (+) set = bag ?

2017-07-21 Thread Timo Paulssen
You want (|) to get the union of two sets as a set. https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators hth - Timo

set (+) set = bag ?

2017-07-21 Thread Gabor Szabo
Looking at Sets https://docs.perl6.org/type/Set I was happy to see (-) to work as I expected, but I was surprised to see that (+) created a bag. Is that intentional? How can I get back the set. Is the only way using the unicode character ∪ ? (This is Rakudo version 2017.04.3 so I might be behind

Re: [perl #131767] [RESOLVED] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-21 Thread Gabor Szabo
Thank you!

Re: [perl #131767] [RESOLVED] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-21 Thread Gabor Szabo via RT
Thank you!

[perl #131767] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-21 Thread Zoffix Znet via RT
On Wed, 19 Jul 2017 01:13:30 -0700, szab...@gmail.com wrote: > We have a test marked todo in Bailador. prove6 displays the failure as > follows: > > $ prove6 -l t/30-examples-app.t > t/30-examples-app.t ..1/15 > # Failed test 'route GET /hello/Foo.html' > # at t/30-examples-app.t line 68 >

[perl #131767] Test.pm6 should redirect diagnostics to stdout instead of stderr

2017-07-21 Thread Zoffix Znet via RT
On Wed, 19 Jul 2017 01:13:30 -0700, szab...@gmail.com wrote: > We have a test marked todo in Bailador. prove6 displays the failure as > follows: > > $ prove6 -l t/30-examples-app.t > t/30-examples-app.t ..1/15 > # Failed test 'route GET /hello/Foo.html' > # at t/30-examples-app.t line 68 >

Re: Is win 32 being worked on?

2017-07-21 Thread Todd Chester
On 07/21/2017 01:57 AM, Mark Carter wrote: On 21/07/2017 09:50, Todd Chester wrote: I may be wrong, but I do believe what you want is called "Rakudo Star". You can download it from https://rakudo.perl6.org/downloads/star/ But no recent win 32-bit. https://rakudo.perl6.org/downloads/sta

Re: Is win 32 being worked on?

2017-07-21 Thread Mark Carter
On 21/07/2017 09:50, Todd Chester wrote: I may be wrong, but I do believe what you want is called "Rakudo Star". You can download it from https://rakudo.perl6.org/downloads/star/ But no recent win 32-bit.

Re: Is win 32 being worked on?

2017-07-21 Thread Jan Ingvoldstad
On Fri, Jul 21, 2017 at 10:50 AM, Todd Chester wrote: > > > On 07/21/2017 01:07 AM, Mark Carter wrote: >> >> I noticed that there is no Windows 32-bit version of rakudo, and it won't >> even compile on cygwin. >> >> Are there plans for fixing this? > > > > Hi Mark, > > I may be wrong, but I do bel

Re: Is win 32 being worked on?

2017-07-21 Thread Todd Chester
On 07/21/2017 01:07 AM, Mark Carter wrote: I noticed that there is no Windows 32-bit version of rakudo, and it won't even compile on cygwin. Are there plans for fixing this? Hi Mark, I may be wrong, but I do believe what you want is called "Rakudo Star". You can download it from https:/

Is win 32 being worked on?

2017-07-21 Thread Mark Carter
I noticed that there is no Windows 32-bit version of rakudo, and it won't even compile on cygwin. Are there plans for fixing this?