The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

FP::Combinators - function combinators

SYNOPSIS

    use FP::Ops 'div';
    use FP::Combinators 'flip';

    is div(2,3), 2/3;
    is flip(\&div)->(2,3), 3/2;

DESCRIPTION

    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)

SEE ALSO

FP::Optional, FP::Combinators2, FP::Predicates, FP::Ops

NOTE

This is alpha software! Read the status section in the package README or on the website.