| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi, hmm not so sure about this... what if you had an object that was IEnumerable but you didn't want it to be converted eagerly to a list? E.g. a database result set? Wouldn't it be better to return a Python wrapper that implements iter? cheers, |
Sorry, something went wrong.
|
Fair enough. I put this back because someone emailed me about the Readme example I wrote a while ago not working anymore. It's useful for what I'm doing but I suppose it might be quite annoying for others. I think you're right, it'd be better to implement the sequence interface on ILists, iter on IEnumerables and the mapping interface on IDictionaries. I'll look at doing that at some point. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I think this is the right place for it, it certainly fixes the test code I left in Readme.md (which is currently broken).