-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I've been asserting the functor laws locally for fun and I am observing that PHPStan fails to compile on some generics.
For example, FunctionalPHP\FantasyLand\Functor: https://phpstan.org/r/fef7dc4c-8448-4c36-9e25-92f78145b7fe
I haven't tested all functors or laws yet (in the process of doing so), but thought I would make a note of it.
If I manage to assert laws and generic accuracy for all the objects listed by this spec, I'll issue a PR.
I really want to use this spec as opposed to reinventing the wheel (who wants to do that), but I do not want to implement this until the generics are rock solid.
Metadata
Metadata
Assignees
Labels
No labels