php-functional
php-functional copied to clipboard
Functors, Applicative Functors and Monads in PHP
Hi, lately I migrated the CI of some projects of mine from Travis to Github Actions. The main reason was to escape from the new pricing model of Travis, which...
Hi, since today, php 7.4 support in CI was blocked due to an incompatibility of [giorgiosironi/eris](https://github.com/giorgiosironi/eris) with php 7.4 (https://github.com/giorgiosironi/eris/pull/125). Today this fix is released in version 0.12.0
Hi, I don't know if it's correct, but let's see this example: ```php $result = f\constt('foo')(); // returns the closure $result = f\constt('foo')('bar); // returns "foo" ``` Is it correct?...
Inspiration - https://hackage.haskell.org/package/lens - https://github.com/atomicobject/lenses/blob/master/src/index.ts
Few ideas - calculator - GraphQL like batch fetching
Of top of my head - functions should have `docblock` with Haskell type notation - Listt instead of PHP native [], Iterators, Generators - array as tuple - const for...