Ad-hoc associativity

Run Settings
LanguageRaku
Language Version
Run Command
sub as-left(&f) { sub infix:<@>(|xs) is assoc<left> { &f(|xs); } &infix:<@>; } sub as-right(&f) { sub infix:<@>(|xs) is assoc<right> { &f(|xs); } &infix:<@>; } say (|("a" .. "f"), "Unit").reduce(as-right({"Tuple $^a ($^b)"}));
Editor Settings
Theme
Key bindings
Full width
Lines