Open cleoold opened 3 years ago
Because I couldn't get the author to reply me :-| I wrapped up my own library that has similar usage to py-enumerable, except it has fully typed interface and really lazy evaluations (e.g. py-enumerable does not support infinite streams).
@cleoold Apologies for this. I never received a notification that this issue was even created and just noticed this today.
I think this is an acceptable request given that py-enumerable is really only supporting 3.9, 3.8, 3.7 now and typing is already baked in these Python versions. I actually was thinking of doing this myself already actually. I will have a look at your work and attempt to incorporate into py-enumerable.
https://github.com/jakkes/python-linq has typing.
Adding type annotations to the library would be helpful for those into type checking. This can avoid type errors.
I can create separate PRs for this as it is simple enough :-) Do you think this is a good idea?