Pasted
Archive
[Perl 6] Using first-class objects.
cwchen
|
PRO
|
11/29/17 02:04:42 AM UTC
|
0 ⭐
|
11920 👁️
|
Never ⏰
|
[]
Perl 6
|
0 B
|
None
|
0 👍
/
0 👎
Raw
Download
Clone
Embed
Print
View
Choose
Raw
Download
Clone
Embed
Print
View
my $f = sub add-one($n) { $n + 1; } $f(3) == 4 or die "Wrong value";
Comments
01/01/70 12:00:00 AM UTC
Plain Text
|
0 B
|
👍
/
👎
01/01/70 12:00:00 AM UTC
Plain Text
|
0 B
|
👍
/
👎
Comments
0 B
|👍
/👎
0 B
|👍
/👎