[perl #130970] [BUG] Set.new confused by Nil

2017-09-04 Thread Brian S. Julin via RT
On Thu, 09 Mar 2017 12:55:58 -0800, zef...@fysh.org wrote: > Brandon Allbery via RT wrote: > >Erm. Isn't Nil a silent Failure? > > It may well represent such a thing, but it is also a reified object. > Putting objects into sets is an operation that's applicable to any kind > of object, and which (

[perl #131961] Built-in decoder is dropping bytes on the floor

2017-09-04 Thread jn...@jnthn.net via RT
On Fri, 25 Aug 2017 18:56:37 -0700, alex.jakime...@gmail.com wrote: > The input file for this problem is ≈15 MB so please bear with external > link: > https://files.progarm.org/golfed.gz (1.6 MB compressed) > > Command: > perl6 -ne 'say $++' golfed > # or > perl6 -ne 'say $++' < golfed > > Result

[perl #131961] Built-in decoder is dropping bytes on the floor

2017-09-04 Thread jn...@jnthn.net via RT
On Fri, 25 Aug 2017 18:56:37 -0700, alex.jakime...@gmail.com wrote: > The input file for this problem is ≈15 MB so please bear with external > link: > https://files.progarm.org/golfed.gz (1.6 MB compressed) > > Command: > perl6 -ne 'say $++' golfed > # or > perl6 -ne 'say $++' < golfed > > Result

Re: thread behavior

2017-09-04 Thread Brandon Allbery
On Mon, Sep 4, 2017 at 6:18 AM, Elizabeth Mattijsen wrote: > That can not be relied on in general, I’m afraid. However, after some > discussion, it appears that there is some support for an > "is-initial-thread” method: > >https://irclog.perlgeek.de/perl6-dev/2017-09-04#i_15112552 > > Note t

[perl #132016] Supply.merge and signals ( signal(SIGTERM).merge(signal(SIGINT)) )

2017-09-04 Thread jn...@jnthn.net via RT
On Fri, 01 Sep 2017 20:15:07 -0700, alex.jakime...@gmail.com wrote: > Command: > # run it and then send SIGINT (e.g. with Ctrl+C) > perl6 -e 'react whenever signal(SIGINT).merge(signal(SIGTERM)) { say > ‘hey!’; exit 0 }' > > Result: > hey! > > > Command: > # run it and then send SIGINT (e.g. wit

[perl #132016] Supply.merge and signals ( signal(SIGTERM).merge(signal(SIGINT)) )

2017-09-04 Thread jn...@jnthn.net via RT
On Fri, 01 Sep 2017 20:15:07 -0700, alex.jakime...@gmail.com wrote: > Command: > # run it and then send SIGINT (e.g. with Ctrl+C) > perl6 -e 'react whenever signal(SIGINT).merge(signal(SIGTERM)) { say > ‘hey!’; exit 0 }' > > Result: > hey! > > > Command: > # run it and then send SIGINT (e.g. wit

Re: thread behavior

2017-09-04 Thread Elizabeth Mattijsen
> On 4 Sep 2017, at 10:44, JuhiMarcel LangbroekTimmerman > wrote: > Thanks for your anwer. I assume there are a few things I can rely on; > - the main thread is where the code starts and will always have id 1 That can not be relied on in general, I’m afraid. However, after some discussion, it

Re: thread behavior

2017-09-04 Thread JuhiMarcel LangbroekTimmerman
Hi liz, Thanks for your anwer. I assume there are a few things I can rely on; - the main thread is where the code starts and will always have id 1 - a continuation of statements/blocks will always be excecuted on the same thread except for those hyper thingies which are again separate blocks or

Re: thread behavior

2017-09-04 Thread Elizabeth Mattijsen
> On 4 Sep 2017, at 09:29, Marcel Timmerman wrote: > I was wondering about the following, > > When an Exception is thrown in a thread and is CATCHed in another object, > will that block be run in the same thread as the Exception is thrown? I think from 6.d onward, you can not rely on your code

thread behavior

2017-09-04 Thread Marcel Timmerman
Hi, I was wondering about the following, When an Exception is thrown in a thread and is CATCHed in another object, will that block be run in the same thread as the Exception is thrown? Thanks in advance, Marcel