FP::Combinators - function combinators
use FP::Ops 'div'; use FP::Combinators 'flip'; is div(2,3), 2/3; is flip(\&div)->(2,3), 3/2;
A combinator is a higher-order function that uses only function application and earlier defined combinators to define a result from its arguments.
Combinator (wikipedia.org)
FP::Optional, FP::Combinators2, FP::Predicates, FP::Ops
This is alpha software! Read the status section in the package README or on the website.
To install FunctionalPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FunctionalPerl
CPAN shell
perl -MCPAN -e shell install FunctionalPerl
For more information on module installation, please visit the detailed CPAN module installation guide.