Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor fixes; flussence++
  • Loading branch information
lichtkind committed Apr 19, 2012
1 parent 4b0f2fd commit d66a9a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions docs/appendix-e-exciting.txt
Expand Up @@ -34,7 +34,7 @@ reading](io.html#file) is simpler then ever (and autochomp included).



Automatic multithreading
Automatic Multithreading
========================

Applying operations to junctions and arrays is now syntactically
Expand All @@ -61,7 +61,7 @@ Comparison
Here are junctions, then chained comparison operators.

Perl 5 Perl 6
if ($a == 3 or $a == 4 or $a == 7) {...} if $a = 3 | 4 | 7 {...}
if ($a == 3 or $a == 4 or $a == 7) {...} if $a == 3 | 4 | 7 {...}
if (4 < $a and $a < 12) {...} if 4 < $a < 12 {...}
if (4 < $a and $a <= 12) {...} if $a ~~ 4^..12 {...}
$a = defined $b ? $b : $c; $a = $b // $c;
Expand Down
27 changes: 14 additions & 13 deletions docs/tablet-4-operators.txt
Expand Up @@ -90,7 +90,7 @@ String Comparison



joined comparison
Joined Comparison
-----------------

3 < $a == $a < 7
Expand Down Expand Up @@ -161,19 +161,19 @@ yadda



context forcing scalar ops
Context Forcing Scalar Ops
==========================


bool context
Bool Context
------------

? !
?& ?| ?^



numeric context
Numeric Context
---------------

+ - * ** / % %%
Expand All @@ -182,25 +182,25 @@ numeric context



### numerical selection ###
### Numerical Selection ###

min max minmax



String context
String Context
--------------

~ x
~& ~| ~^ ~< ~>



Ops for arrays/lists
List Ops
====================


List generation
List Generation
---------------

The simplest way to create a list is by repeating some values:
Expand Down Expand Up @@ -284,16 +284,17 @@ precedence table



intentionally not existing ops
==============================
Intentionally Not Existing
==========================

xxx


Selfmade Operators
==================

making own operators
====================
How to make your own is subject [this chapter](tablet-10-metaprogramming.txt#)
in the metaprogramming tablet.

xxx

***

0 comments on commit d66a9a1

Please sign in to comment.