diff options
author | Moritz Lenz <moritz@faui2k3.org> | 2015-12-03 22:38:57 +0100 |
---|---|---|
committer | Moritz Lenz <moritz@faui2k3.org> | 2015-12-03 22:38:57 +0100 |
commit | 5b7b2679d3c449550aba6eb016e03c6ef5c23d93 (patch) | |
tree | 50e528f2c8d049e36f328e6950fd98546288d77f | |
parent | ed5d4d83d3d4a8fa849ceb9a86cf667e9edd5eb7 (diff) | |
parent | b1970f865e356326c0b1e8689fba1171d2717264 (diff) |
Merge pull request #58 from stmuk/master
reimport cheatsheet from mu repo golden source
-rw-r--r-- | docs/cheatsheet.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/cheatsheet.txt b/docs/cheatsheet.txt index 4d5962e..484e063 100644 --- a/docs/cheatsheet.txt +++ b/docs/cheatsheet.txt @@ -1,9 +1,9 @@ -Perl 6 cheat sheet v2 »ö« +Perl 6 cheat sheet v5 20151203 »ö« SIGILS MAJOR/MINOR CONTEXTS ACCESS ARRAYS HASHES $scalar item list sink whole: @array[] %hash{} @array Str flat/slice element: @array[0] %hash{'a'} -%hash Num lazy/eager/hyper (or) %hash<a> +%hash Num lazy/eager/hyper/race (or) %hash<a> &code Bool slice: @array[0,2] %hash{'a','b'} COMPOSERS (or) %hash<a b> TWIGILS [ ] array @@ -28,14 +28,14 @@ unary + - ~ ! ? ^ EXPR if EXPR for LIST; # list comprehension x xx TYPES ~ Bool Bit Int Rat FatRat UInt Num Complex int32 complex64 etc. & Str Cat Blob Char Byte Codepoint Grapheme Buf buf8 buf32 utf8 -| ^ IO Mu Any Cool Junction Whatever Match -sleep abs sin temp List Capture Signature -<=> leg cmp .. but SCOPE DECLARATORS Pair Range Set Bag -~~ > == gt eq === eqv !op my lexical scope KeyHash KeySet KeyBag +| ^ IO Mu Any Cool Junction Supply Whatever Match Nil +sleep abs sin temp let List Capture Signature +<=> leg cmp .. but SCOPE DECLARATORS Pair Range Set Bag Mix +~~ > == gt eq === eqv !op my lexical scope SetHash BagHash MixHash && our package scope Scalar Array Hash Code || ^^ // min max has instance scope Enum Order TrigBase ??!! ff anon no scope at all Block Routine Sub -= := op= => state persistent lexical Method Regex += := op= => state persistent lexical Method Regex Cursor so not augment benign parasitic Failure Exception , : supersede deadly parasitic Instant Duration X Xop Z Zop ... Date DateTime |