chemem / bingo-functional
A simple functional programming library.
Fund package maintenance!
Tidelift
Installs: 5 921
Dependents: 7
Suggesters: 0
Security: 0
Stars: 64
Watchers: 11
Forks: 8
Open Issues: 2
Requires
- php: ^7 || ^8
Requires (Dev)
- ergebnis/composer-normalize: ^2
- friendsofphp/php-cs-fixer: ^3
- giorgiosironi/eris: ^0
- phpunit/phpunit: ^8 || ^9
Suggests
- ext-apcu: In-memory key-value PHP userland store
- ext-eio: An interface to the libeio library
- ext-mbstring: PHP extension for accurately determining byte-length of strings
- ext-readline: An interface to the GNU readline library
- chemem/bingo-functional-repl: A simple REPL for the bingo-functional library
- v2.x-dev
- dev-master / 2.x-dev
- v2.4.0
- v2.3.0
- v2.2.0
- v2.1.0
- v2.0.1
- v2.0.0
- v1.x-dev
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.0
- v1.9.0
- v1.8.0
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.0
- dev-analysis-Ko2bwV
- dev-analysis-RPmL1Y
- dev-analysis-32x035
- dev-do-notation
- dev-fantasy-land-compliant
This package is auto-updated.
Last update: 2024-11-03 15:30:28 UTC
README
bingo-functional
A simple functional programming library for PHP.
Requirement(s)
- PHP 7 or higher
Rationale
PHP, a language not commonly associated with Functional Programming, does support the paradigm - to an extent. The language's Functional Programming affability though substantial is not the same as that of Haskell, OCaml, or F# - purely Functional languages. bingo-functional is an attempt at enhancing the usability of FP techniques - those that warrant the use of helper functions, applicatives, monads, pattern matching, and immutable lists.
Documentation
Please check out the documentation for more knowledge on how to use this library.
Also, a changelog exists and can be used to track changes made to the project.
Dealing with problems
Endeavor to create an issue on GitHub when the need arises or send an email to lochbm@gmail.com
Functional Programming in PHP
I published a book titled - Functional Programming in PHP - which is currently available on LeanPub. The bingo-functional library features extensively in the text as a tool whose potencies demonstrate usage of Functional Programming ideas in PHP. I advise that you purchase a copy for $9.99.
Related Projects
-
bingo-functional-js A JavaScript port of this library
-
bingo-functional-repl A REPL for this library