FP::BigInt
use FP::Equal 'is_equal'; use FP::Show; use FP::BigInt; is_equal ref(bigint(13)), 'Math::BigInt'; is_equal "".(bigint(10)**20), '100000000000000000000'; is_equal bigint(13) / bigint(10), bigint('1'); is show(bigint(7)), "bigint('7')";
Loads Math::BigInt, monkey patches FP_Show_show and FP_Equal_equal methods into it, and exports the bigint constructor function.
FP_Show_show
FP_Equal_equal
bigint
Math::BigInt
FP::Abstract::Show, FP::Abstract::Equal -- implemented protocols
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.