From b1970f865e356326c0b1e8689fba1171d2717264 Mon Sep 17 00:00:00 2001 From: Steve Mynott Date: Thu, 3 Dec 2015 21:35:16 +0000 Subject: reimport from mu repo golden source --- docs/cheatsheet.txt | 14 +++++++------- 1 file 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 +%hash Num lazy/eager/hyper/race (or) %hash &code Bool slice: @array[0,2] %hash{'a','b'} COMPOSERS (or) %hash 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 -- cgit v1.1