building blocks for functional php

v0.0.1 2013-05-19 06:15 UTC

This package is not auto-updated.

Last update: 2024-04-08 12:06:31 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