summaryrefslogtreecommitdiffhomepage
path: root/perl6.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2014-11-11 17:42:28 -0800
committerGeoff Liu <cangming.liu@gmail.com>2014-11-11 17:42:28 -0800
commit1761ec868a2aedc1d7ed6bc3d4879c0662050923 (patch)
tree8a579b87524d0be9f0ed116731a6d90768ced393 /perl6.html.markdown
parente784f52d33475b0cba059a0c07ad01b0e63578a9 (diff)
parentad951f2615175b917b7410e667ef91d119468c5a (diff)
Merge
Diffstat (limited to 'perl6.html.markdown')
-rw-r--r--perl6.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl6.html.markdown b/perl6.html.markdown
index 52625bc2..9f3a03ba 100644
--- a/perl6.html.markdown
+++ b/perl6.html.markdown
@@ -1149,7 +1149,7 @@ my @list = 1, 3, 9 ... * > 30; # you can use a predicate
# (with the Whatever Star, here).
my @list = 1, 3, 9 ... { $_ > 30 }; # (equivalent to the above)
-my @fib = 1, 1, *+* ... *; # lazy infinite list of prime numbers,
+my @fib = 1, 1, *+* ... *; # lazy infinite list of fibonacci series,
# computed using a closure!
my @fib = 1, 1, -> $a, $b { $a + $b } ... *; # (equivalent to the above)
my @fib = 1, 1, { $^a + $^b } ... *; #(... also equivalent to the above)