-
It looks like If so, would it be worth sending in a patch for updated doc-blocks? The cascade of Psalm issues would be huge… I guess all of the Is it worth it? |
Beta Was this translation helpful? Give feedback.
Answered by
veewee
Feb 21, 2024
Replies: 1 comment 1 reply
-
It is not possible for all types to be marked as pure. See: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
gsteel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not possible for all types to be marked as pure.
Once iterables are iterated, there might be side-effects (e.g. inside generators)
See: