A simple functional programming library for PHP.
- PHP 7 or higher
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.
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.
Endeavor to create an issue on GitHub when the need arises or send an email to lochbm@gmail.com
I collaborated with Apress to release a new edition of Functional Programming in PHP, which you, a prospective reader, can find on the Apress bookstore. Featured prominently throughout the book are artifacts in this library whose origins (where necessary) and use cases are explored. I recommend you consider getting yourself a copy so you can further acquaint yourself with the paradigm and set yourself on a path to writing performant, composable code.
-
bingo-functional-js A JavaScript port of this library
-
bingo-functional-repl A REPL for this library

