Re: Missing NullPointerException

2020-12-18 Thread Konrad Bucheli via perl6-users
ll see that some data or state is incorrect. And the problem with incorrect data is that you might not even spot it. On Tue, Dec 15, 2020, 11:10 PM Konrad Bucheli via perl6-users mailto:perl6-users@perl.org>> wrote: Hi Ralph Thanks a lot for the extensive answer. I still consi

Re: Missing NullPointerException

2020-12-18 Thread Konrad Bucheli via perl6-users
Hi Ralph I understand that this is about avoiding the pyramid of doom. And it is enjoyable that it can be avoided. Opt in. No programming language I worked so far has this semantics of method call. So we might name it differently as it is doing something different... -> that is the trap. (I

Re: Missing NullPointerException

2020-12-15 Thread Konrad Bucheli via perl6-users
ect: Re: Missing NullPointerException   On Thu, Dec 3, 2020 at 10:20 PM Konrad Bucheli via perl6-users wrote: > > What is actually the rationale for such a behaviour? Ergonomically sound null safety. First, consider what other languages have. Quoting https://en.wikipedia.org/wiki/Saf

Re: Missing NullPointerException

2020-12-05 Thread Konrad Bucheli via perl6-users
is returning Nil, then perhaps we have a bug. Could you elaborate on the situation where you encountered this? On 3 Dec 2020, at 15:22, Konrad Bucheli via perl6-users wrote: On 02.12.20 15:55, Ralph Mellor wrote: On Wed, Dec 2, 2020 at 7:08 AM Patrick R. Michaud wrote

No such method 'prefix' for invocant of type 'Capture' when trying to patch a new library include path

2020-05-10 Thread Konrad Bucheli via perl6-users
Dear Raku experts I have a little patch which adds another library include path and installation site named "foo" which points to "/opt/foo/lib", see attached patch. That worked (in a similar fashion) well with 2020.02, but with 2020.05 it fails on the following test: $ cat foo.rakumod unit

unflattering flat

2020-04-03 Thread Konrad Bucheli via perl6-users
Dear Raku programmers I have a hash with arrays as value. Out of that I wanted to get a flat list with all the entries in the value arrays. My first intuitive attempt was to use flat, but somehow that only works with an additional map step: $ raku To exit type 'exit' or '^D' > my

AW: MoarVM panic when using PKafka

2019-03-28 Thread Konrad Bucheli via perl6-users
Sorry, I forgot about # perl6 -v This is Rakudo version 2019.03.1 built on MoarVM version 2019.03 implementing Perl 6.d. Von: Konrad Bucheli via perl6-users Gesendet: Donnerstag, 28. März 2019 15:36 An: perl6-users Betreff: MoarVM panic when using PKafka Hi

MoarVM panic when using PKafka

2019-03-28 Thread Konrad Bucheli via perl6-users
Hi We want to use Perl 6 as Kafka client. When I want to save the offset in the queue after I processed the message I get some MoarVM panics: MoarVM panic: Internal error: zeroed target thread ID in work pass or sometimes MoarVM panic: Internal error: invalid thread ID 8614688 in GC