Thanks for your answer. 

Still, there could be an Iterable abstract type and then functions could 
dispatch on it. Actually there are 34 functions in Base with an argument 
called `itr`. These are good candidates to dispatch on such a type. A bit 
like the Enumerate type. Nothing fancy, just a tag telling the user that 
the function works on iterables.

Reply via email to