NAME

FP::Array - pure functions to work with native Perl arrays

SYNOPSIS

    use FP::List; use FP::Equal 'is_equal'; use FP::Div 'inc';
    use FP::Array ':all';

    is_equal array_map(*inc, [3, 4, 6]),
             [4, 5, 7];
    is_equal list([], [3,4], [9])->map(*array_length),
             list(0, 2, 1);

DESCRIPTION

To disambiguate from similarly named functions for `FP::List`, they are prefixed with `array_`.

These are also used as methods for `FP::PureArray` objects.

SEE ALSO

FP::Array_sort, FP::PureArray

NOTE

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