building blocks for functional php
v0.0.1
2013-05-19 06:15 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-18 14:52:54 UTC
README
functional building blocks for php
synopsis
$f = \f\F::getInstance(); $f->map($f->comp($f->even,$f->inc), [1,2]);
available functions
- add
- apply
- comp
- complement
- concat
- dec
- div
- even
- every
- filter
- first
- get
- inc
- keys
- last
- map
- mul
- odd
- partial
- reduce
- rem
- some
- sub
- vals
tests
composer install --dev vendor/bin/phpunit -c tests
benchmarks
php benchmark/run.php