Registry / utility / lambdish-phunctional

lambdish-phunctional

JSON →
library2.1.0phppackagistunverified

λ PHP functional library

composer require lambdish/phunctional
INSTALL
IMPORT
SIG · LAMBDISH-PHUNCTION
L
lambdish-phunctional
utilityphpv2.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Phunctional
use Lambdish\Phunctional\Phunctional;

Apply a function to each element of an array.

use Lambdish\Phunctional\Phunctional; $result = Phunctional::map(function($x) { return $x * 2; }, [1, 2, 3]);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lambdish-phunctional — pip install lambdish-phunctional · libregistry