Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

could you give me a quick example of this?


Yes! I'm copying and pasting some code from various areas.

Here is an old and slightly modified mysql result set iterator that fits the purposed of the newer code that makes this example nice: http://codepad.org/nmD4pDES

Here is a windowing iterator, it gives the person the ability to shift and pop elements from the inner iterator, thus narrowing the field that the iterator goes over: http://codepad.org/IsE5U7cw

We can now do the following... http://codepad.org/nP0EEKxT


thx, appreciate it.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: