Vadim Belman
Vadim Belman
No, I don't have such an example in my mind. But then why `(^10).all > 3` wouldn't collapse immediately into a single `Bool`? What makes defined different from any other...
There is a problem with cases 2 and 4. Both has to be 7. And here is why. Return from a block applies to the closure where the block belongs...
@lizmat you're wrong. Letting a block return from `s2` via invoking `&code` makes the code in `s2` unpredictable and will require additional complications like checking if it's a block or...
> I'm undecided if I like this or not. It limits action at a distance: The `return 5` in `s` doesn't change the effect of `return 7` in `s2`. But...
> Adding case 5. It makes no difference with 2. `return 1` wins, so it makes `1` eventually. More interesting the case of `s` itself. Say, `&code` is not a...
Hope, we're not discussing different things here. Also hope that you're not looking at the problem from the perspective of implementation. Separate the concerns. Separate the sources of `s` and...
> I just have difficulty mapping what that means technically. After some thinking: Always let the return win, that wants to unwind further down the stack. Could that be it?...
> It's an interesting idea It's a horrible idea. First of all, the code that implements this feature would have to live in signature binding. That means extra performance penalty...
> like `"provides-docs" : {"Text::Foo" : "docs/Text/Foo.pod6", "Text::Foo::DocInModule": "lib/Text/Foo/DocInModule.rakumod" }`. Or maybe tooling should just be smart enough to check metadata for an explicit rakudoc file, and if it doesn't...
Can it be raku-community-modules?