September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,3 +0,0 @@
|
|||
sub infix:<∘> (&f, &g --> Block) {
|
||||
-> |args { f g |args }
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
sub triple($n) { 3 * $n }
|
||||
my &f = &triple ∘ &prefix:<-> ∘ { $^n + 2 };
|
||||
say &f(5); # Prints "-21".
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
sub triple($n) { 3 * $n }
|
||||
my &f = &triple ∘ &prefix:<-> ∘ { $^n + 2 };
|
||||
my &f = &triple ∘ &[-] ∘ { $^n + 2 };
|
||||
say &f(5); # Prints "-21".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue