Commit Graph

66 Commits

Author SHA1 Message Date
Adam Bard
bd96b562a0 Merge pull request #2076 from tlvb/p6-packages-foobar
[perl 6] changed code output to as stated in comments
2016-01-06 03:11:23 +08:00
Owen Rodda
e31dc8b5a7 Fix #2040 2015-12-27 16:29:52 -05:00
Leo Bärring
5556d6e839 changed code output to as stated in comments
The comments state that Foo::Bar::inc in the package variable example should increase $Foo::Bar::n and then print it.
This did not happen, as `say ++$n;` was placed outside the block of the sub Foo::Bar::inc.
The commit puts `say ++$n;` inside the block of Foo::Bar::inc.
2015-12-26 20:15:51 +01:00
Ryan Gonzalez
dff8b792c6 Fix typo in Perl 6 example (closes #2025) 2015-11-19 17:53:49 -06:00
ven
9e4274f7c7 Merge pull request #2028 from zoffixznet/catch-var
Perl6: $! is not available inside the CATCH{} (Possibly)
2015-11-17 20:30:20 +01:00
Zoffix Znet
e538185c0a $! is not available inside the CATCH{} 2015-11-17 13:47:55 -05:00
ven
341066bb86 Address #1390
@Zoffixnet, awaiting your review
2015-11-08 22:04:44 +01:00
Paulo Henrique Rodrigues Pinheiro
4829589880 Removed references to compilers other than the Rakudo. 2015-10-15 19:31:38 -03:00
Zoffix Znet
dc010e3863 Many fixes mentioned in #1390 2015-10-10 13:58:25 -04:00
Levi Bostian
dcd9093d64 Merge pull request #1404 from tecknicaltom/master
[perl6] fix the output of ff example
2015-10-09 10:11:46 -05:00
ven
c48b1b533c Merge pull request #1393 from aayushranaut/master
Fixes typos and removed useless spaces
2015-10-08 22:50:04 +02:00
Tom Samstag
4b74a7a76d fix the output of ff example 2015-10-08 08:46:54 -07:00
Gabriel Halley
960ee4a185 removing whitespace all over 2015-10-07 23:11:24 -04:00
Aayush Ranaut
83a229e3f5 Fixes typos 2015-10-07 20:50:30 -04:00
Jack Kuan
62f27af4c3 Update perl6.html.markdown 2015-09-23 00:04:02 -04:00
Aleks-Daniel Jakimenko
45c70baa69 In perl6, 0 is not falsey anymore 2015-08-25 22:31:25 +03:00
ven
ed8f34eb33 fix typo, resolves #1156 2015-06-27 16:07:21 +02:00
Jonathan Scott Duff
2162639cd9 Merge remote-tracking branch 'upstream/master'
Conflicts:
	perl6.html.markdown
2015-06-25 22:58:56 -05:00
David Warring
cbf2f6d371 Parrot is no longer supported.
Also mention MoarVM before JVM.
2015-05-13 12:20:54 +12:00
ven
483997e434 Fix #1094 2015-05-09 23:05:58 +02:00
Jonathan Scott Duff
0410644161 Add a link about parrot suspension 2015-04-24 17:11:31 -05:00
ven
6e9ccfaea3 fix #1032
and a few more fixes/moving arounds
2015-04-15 14:33:52 +02:00
Philippe Bricout
4c46a456bd Update perl6.html.markdown
($_.chars > 50) ~~ True : this is always True.
2015-04-01 15:13:59 +02:00
Jeff Erickson
965d7972d1 Minor typo: fixed curly bracket direction (} -> {) 2015-03-25 16:53:46 -04:00
ronaldxs
7243f13fc6 thrice .... gather ^3 counts three times "0 1 2" not 5
Probably just a paste-o mistake.  Want to count 3 times not 5.
2015-03-20 16:40:25 -04:00
Philippe Bricout
cd462d1cc5 Perl6, minor change in comments
It seems "when" should be replace by "given" at the end of the comment.
2015-03-01 18:04:05 +01:00
Philippe Bricout
862d90da8f Update perl6.html.markdown
typo, wrong sub name in comment : mod => x-store
2015-02-27 16:31:15 +01:00
ven
63749de972 fix #937 2015-01-25 21:24:50 +01:00
raiph
4ef0e78009 Fix link to synopses and call them 'design docs' 2015-01-09 18:39:56 -05:00
ven
1c52c5ea12 @wryk++ 2014-12-29 22:48:01 +01:00
ven
f323083ba4 rework of the tutorial 2014-12-24 18:22:48 +01:00
ugexe
acbea221a4 0 // 5 = 0
11:59 < nebuchadnezzar> m: say Any // Nil // 0 // 5
    11:59 <+camelia> rakudo-moar 38e77b: OUTPUT«0␤»
    11:59 < nebuchadnezzar> shouldn't it be 5?
    12:00 < ugexe> 0 is a defined value
    12:00 < ugexe> m: say Any || Nil || 0 || 5;
    12:00 <+camelia> rakudo-moar 38e77b: OUTPUT«5␤»
2014-11-16 12:16:26 -05:00
Kishore Relangi
9576d80b75 Update perl6.html.markdown
It is actually generating fibonacci series
2014-11-10 15:50:47 +05:30
Peter Palfrader
74533ea292 Fix a comment that indicates what "say @array" will print.
We assigned 6 to @array[1] a few lines before, so say @array will print
"a 6 b", not "a 2 b".
2014-10-12 19:41:07 +02:00
Nami-Doc
d786c94f84 Fix a braino
caught by @wryk++
2014-10-07 15:47:06 +02:00
Nami-Doc
160c826847 Capturing captures, and numbering them
also, multi-indexing in arrays
also, labeled loops (draft)
also, arrays vs $() vs parcel vs ... (@moritz++)
2014-09-27 21:57:10 +02:00
Nami-Doc
b6ba516743 Exception thingies! 2014-09-23 23:28:24 +02:00
Nami-Doc
931db8c685 Regexes thingies. 2014-09-13 21:37:35 +02:00
Nami-Doc
013112b9b3 Clarifications about *+* and ... with a sub
mrf++
2014-08-27 12:38:23 +02:00
Nami-Doc
1828ef068d Make the text fit. 2014-08-21 00:34:39 +02:00
Nami-Doc
0b2f1ff6f1 Update perl6 to fix some of its quirks 2014-08-14 21:35:14 +02:00
Patrick Sebastian Zimmermann
170de52231 Minor fixes to return values. 2014-08-05 19:50:19 +02:00
Nami-Doc
10c07f30d5 REGULAAAAAAR EXPREEEESSSIIIIOOOOOONS. GO!
TODO nested sub signatures
TODO start
TODO flattening
2014-07-31 23:28:46 +02:00
Nami-Doc
2ff257b551 Statement prefixes
also MAIN.
some links under "Going further"

TODO start
TODO flattening
TODO regexps
2014-07-29 23:42:52 +02:00
Nami-Doc
5ce43af7b7 Meta operator: reduce and zip (and combined !)
Little note about compound operators
2014-07-27 23:11:46 +02:00
Nami-Doc
8b168d41cc More clarifications. @masak++ 2014-07-26 01:11:31 +02:00
Nami-Doc
61351ee266 Fix explanations about $_
@masak++
2014-07-26 00:37:36 +02:00
Nami-Doc
8631ca09f4 More fixes thanks to @timo++'s feedback. 2014-07-25 23:23:13 +02:00
Nami-Doc
a85a05a139 Move stuff around, again.
Need to teach it in the right order ...
2014-07-25 11:47:56 +02:00
Nami-Doc
82d65fb3b2 Move stuff around. ventica++ 2014-07-25 11:30:50 +02:00