functify
functify copied to clipboard
entries should work with plain old iterators
If the iterable doesn't have an entries method then the keys should be indices. It may not make sense to return entries for an interable that's not indexable.