Skip to content
This repository

Shell and Powershell pipes, haskell keywords mixed with the awesomeness of perl. forget shell scrpting now!

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 eg
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Changes
Octocat-spinner-32 FUTURE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Roadmap
Octocat-spinner-32 dist.ini
README.textile

steal some keywords of haskell perlude to ease manipulations of iterators and stream in perl.


    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;
    }

read lib/Perlude/Tutorial.pod for futher informations

TODO:

  • improve documentation
  • improve test suite?
  • see range implementation # what if step 0 ?
  • pairs must support streams and array
  • provide an alternative to takeWhile to return the combo breaker
  • explore AST manipulations for futher optimizations
Something went wrong with that request. Please try again.