munus
munus copied to clipboard
Power of object-oriented programming with the elegance of functional programming in PHP.
- Fix PHP Deprecated: Return type of ... should either be compatible with Iterator errors
Question about Tuple generics. There are two options: 1. Currently implemented: there is no support for generics in Tuple 2. Implemented in Vavr way: ``` Tuple1 Tuple2 Tuple3 ... Tuple8...
With Pattern Matching (thanks to @mtk3d). To do: - [x] update docs and add Pattern Matching page
- For object `spl_object_hash` then `md5` - For primitives `md5`
This addition accommodates the introduction of 'native' return types in newer PHP versions. Once support for lower PHP versions is discontinued, this attribute can be safely removed along with the...
Hello 😄 I prepared my proposal of Tuples with generics, as discussed in here https://github.com/munusphp/munus/issues/38 It's just proposal, still in progress, there is no tests yet. I started by just...
As I can see, the minimum version of PHP for latest Munus version is going to be 8.0 now https://github.com/munusphp/munus/commit/610f2c618dd7855548044447ebf93f975d7d28c0. I can't see any reason to keep Munus's matchValue() now....