Why does Go (so far) not have support for generators/ iterators for custom 
types ?

I wrote this workaround:
https://github.com/serge-hulne/go_iter

But I was wondering what lead to the idea of leaving iterators out in the 
early days of the design of Go. What simplification of the language was 
expected from leaving out iterators for custom types.


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/1fd9e5e8-8196-4bfb-910c-89ed461c42c5n%40googlegroups.com.

Reply via email to