Quick actions

cmd+k|ctrl+k

Navigation

Languages

Armstrong

Snippet info

Language

Raku

Visibility

public

Author

raiph

Created

2023-10-13T15:05:20.206406Z

Updated

2023-10-13T22:26:38.029615Z

    # Standard Raku:
    say { $_ == sum .comb.map: * **3 }(371); # True
    say { $_ == sum .comb      »**»3 }(371); # True

    # Raku with some setup:
    constant λ = *;
    say { my \it = $_; it==sum .comb.map: λ**3 }(371); # True
    say { my \it = $_; it==sum .comb »**» 3    }(371); # True
INFO