Hi All,

My unicode keeper.  It is a work in progress.  Pelase
comment, if you be of a mind to.

Do we use `U2248 ≈` at all? Maybe I just use that on in writing, instead of ~

-T


Perl6: Unicode characters:

References:
    https://en.wikipedia.org/wiki/Quotation_mark#Curved_quotes_and_Unicode
    https://docs.raku.org/language/quoting

https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unicode#Mathematical_Operators_block

Unicode charaters are covienient to use to avoid having
to escape things.


From a standard keyboard, Ctrl+Shift+unicode

   Some useful unicode characters:

       UFF62 「    Ctrl+Shift+u f f 6 2
       UFF62 」    Ctrl+Shift+u f f 6 3
       U201D „    Ctrl+Shift+u 2 0 1 D
       U00AB «    Ctrl+Shift+u 0 0 A B
       U00BB »    Ctrl+Shift+u 0 0 B B
       U2260 ≠    Ctrl+Shift+u 2 2 6 0
       U2248 ≈    Ctrl+Shift+u 2 2 4 8

Some uses:

   For use as a litter quote in a regex (Q[] does not work inside regex's)

      say so Q[A:\] ~~ / 「:\」 /;
      True

      say so Q[A:\] ~~ / 「:/」 /;
      False

   For accessing keys inside a hash with a variable:

     my %h= a=>"A", b=>"B";
     my $i= "b";
     say %h<$i>;
     (Any)
     say %h<<$i>>;
     B
     say %h«$i»;
     B
     say %h{$i};
     B

  Math:
     say so 5 ≠ 6
     True

     say so 5 ≠ 5
     False

Reply via email to