News for hackers. Stuff that matters.
Re:Raku: A Language for Gremlins by lizmat on Thursday August 10, 2023 @07:35AM (#37074791)
> Where do the angle brackets come in?

The angle brackets are syntactic sugar for word quoting.

    <a b c>
is syntactic sugar for:

    ("a", "b", "c")
They can be used standalone. Or as postcircumfix on hashes:

    %foo<a>      # the value of key "a" in hash %foo
    %foo<a b c>  # the values of keys "a", "b", "c" in hash %foo
There's a lot more to it than that, but that's the gist of it.

https://docs.raku.org/language/quoting#Word_quoting:_%3C_%3E

Re:Raku: A Language for Gremlins by throwanem on Thursday August 10, 2023 @09:02AM (#37075629)
Oh, okay, so it's just more sugar over Perl 5-style qw(), which is itself sugar over split().

I heard something once about "cancer of the semicolon"...