steal some keywords of haskell perlude to ease manipulations of iterators and stream in perl.
<pre><code>
use Perlude;
now {say if /false/} take 2, lines "/etc/passwd";
is the same as
open my $fh,"/etc/passwd";
my $count = 0;
while (<$fh>) {
if (/root/) {
$count++;
say;
}
last if $count == 2;
}
</code></pre>
read lib/Perlude/Tutorial.pod for futher informations
TODO:
* improve documentation
* improve test suite?
* see range implementation # what if step 0 ?
* provide an alternative to takeWhile to return the combo breaker
* explore AST manipulations for futher optimizations