pramda
pramda copied to clipboard
Practical Functional Programming in PHP
`P::curryN($n, $callable)` with `$n` other than 2 or 3 throws `RuntimeException` without a message. A meaningful error message would be helpful, supporting other arities even more so.
Add mapSameKey to preserve original list key
Hello @kapolos, First of all, thank you very much for this wonderful library Pramda. I have started using it, in one of the core rewrites of a PHP module -...
It fixes the following warning mentioned in #9 issue: Deprecated: Non-static method P::_curry() should not be called statically
I know very little about PHP but would love to try Pramda out. I know NPM and Ramda.js quite well but I am strugling in setting up a working Composer...
It would be awesome if pramda used namespaced functions (`use function Pramda\map`) instead of static functions (`P::map`). Is this sort of API possible without requiring PHP 5.6+?