Uhh ... wow. The highlights I saw were:
An item caught my eye and I think it has some serious voodoo potential.
In any scalar context not expecting a junction of values, a junction produces automatic parallelization of the algorithm. In particular, if a junction is used as an argument to any routine (operator, closure, method, etc.), and the scalar parameter you are attempting to bind the argument to is inconsistent with the Junction type, that routine is "autothreaded", meaning the routine will be called automatically as many times as necessary to process the individual scalar elements of the junction in parallel.
Basically, what that means is that you might be able to do something like (Bad Perl6 code ahead!):
if ( some_func( $x | $y | $z ) == $foo ) { ... }
And, some_func() will return back a junction, if you write it (in?)correctly. That is uber-cool!
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|