Results 20 comments of Wenzel P. P. Peppmeyer

We can express an undefined Range already. It is `(Range)`. I do agree that ranges with undefined values (Nil, Type-Objects) should result in an undefined Range, so that any `:D`-type...

There is a problem with binding and assignment with `@` and `%`-sigiled containers. Please consider the following code., ``` sub foo(Int() @ints) { dd @ints }; foo [1,2,3]; ``` This...

The more I think about this, the more this feels like an ENODOC instead of an ENODESIGN. ``` my Int @a = Array[Int].new: 1,2,3,Int; dd @a; my @b := Array[Int].new:...

There more I think about this, the more I feel we got the default wrong. Please consider: ``` my @a = 1..42; @a[5,6,7][1,2].say; # (7 8) my %h = 'a'..'e'...

When the `:kv` adverb is supplied, I would expect a list of `Pair`s in the order of request too.

> @gfldex you mean: keys and values alternating in the order of the request? Indeed. There is `List.pairs` and `Any.pairs` to get the current output. The adverb `:pairs` feels missing...

I spend some time on thinking about the arguments presented in this discussion. Quite frankly, what I expect doesn't matter all the much. What matters is, what Raku expects. Or...

@lizmat `:p` is quite helpful. What is bugging me, is that we treat `Array` quite DWIMy, while we don't really do the same for `Hash`. Please consider the followign example:...

Indeed, I stepped into the "not quite golfed enough"-trap. ``` multi sub trait_mod:(Routine \r, :$thiscalled) { dd r; } proto sub foo(|) is thiscalled { } multi sub foo(Str $s,...

``` # Welcome to Rakudo™ v2024.04-10-ga4c7d5d19. # Implementing the Raku® Programming Language v6.d. # Built on MoarVM version 2024.04. sub a(*%h) { dd %h; } class Foo does Associative {...