Skip to content

Raku's arrow operators lack Unicode equivalents #389

@codesections

Description

@codesections

Raku provides Unicode versions of many operators – basically whenever there is a sensible suitable Unicode equivalent. However, Raku doesn't provide Unicode alternatives to any of Raku's arrow operators (or operator-like pieces of syntax). But Unicode provides a ton of arrow symbols, so it would be easy for to add Unicode equivalents.

More specifically, there are no Unicode equivalents to any of the following arrows.

my &pointy-block = -> $_ { $_ + 1 };
sub return-value($_ --> Int) { $_ + 1 }
my $left-feed = 1 ==> sum(2);
my $right-feed = (sum(2) <== 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    languageChanges to the Raku Programming Language

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions