Attribute::Curried

Attribute::Curried contains functional goodness for Perl.
Download

Attribute::Curried Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Sean O'Rourke
  • Publisher web site:
  • http://search.cpan.org/~seano/WWW-Facebook-FQL-0.03/FQL.pm

Attribute::Curried Tags


Attribute::Curried Description

Attribute::Curried contains functional goodness for Perl. Attribute::Curried contains functional goodness for Perl.SYNOPSIS use Attribute::Curried; sub bracket :Curry(3) { $_.$_.$_ } sub flip :Curry(3) { &{$_}(@_); } my @xs = map { bracket $_ } 1..3; my $i = 0; my @ys = map { ++$i == 2 ? $_ : flip $_ } @xs; print join(', ', map { &$_('') } @ys), "n"; # prints '>13


Attribute::Curried Related Software