Commit Graph

85 Commits

Author SHA1 Message Date
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
Nami-Doc
4c6e3e7723 Fix compose's inside ... 2014-07-24 23:06:44 +02:00
Nami-Doc
38c1678672 More on sub arguments.
Declare your own subs !!
More on hash: add colonpair syntax
Flatten argument list with `|`
Multi on :$!

TODO: `MAIN`
TODO: meta ops
2014-07-24 23:05:44 +02:00
Nami-Doc
1d931a37f2 Declarators
mention the six model
clearer description of package/module etc
clearer description of `$.` vs `$!`
2014-07-22 22:55:27 +02:00
Nami-Doc
37a38181a8 Scoping explanations (lexical / dynamic)
Start on packages.
ff/fff like `when`
ff vs fff
~~ on Bool
// and ^^ operators

TODO warn/fail/control
2014-07-21 23:18:55 +02:00
Nami-Doc
be796e988a Phasers ! and more:
Add default
Add a bit on exceptions (TODO fail/warn)
2014-07-20 01:25:20 +02:00
Nami-Doc
7314a87f9d ff * 2014-07-19 01:54:05 +02:00
Nami-Doc
1652740cb9 Well met
Sequence / FF
2014-07-19 01:49:07 +02:00
Nami-Doc
22ad989683 Move stuff around
Probably for the worst ...
2014-07-16 23:12:20 +02:00
Nami-Doc
78e3a442e9 Sigh. 2014-07-16 20:08:48 +02:00
Nami-Doc
3d81df43b1 Switch to perl to see if it fixes comments ... 2014-07-16 20:08:01 +02:00
Nami-Doc
6a33cbd3ae Try to fix HL 2014-07-16 20:07:35 +02:00
Nami-Doc
f97d9c5aba Moar classes. Roles. And stuff. And dispatch
todo : muti dispatch
2014-07-13 22:28:41 +02:00
Nami-Doc
d6fa11cb75 Some class love 2014-07-13 20:42:29 +02:00
Nami-Doc
7db96aafe3 switcheroo operators 2014-07-10 22:23:56 +02:00
Nami-Doc
4b9c50733d Moar operators 2014-06-29 21:41:57 +02:00
Nami-Doc
2a8e20ca27 Basic Perl 6 LearnXinYminutes 2014-06-28 22:59:14 +02:00