Re: How to correctly spec sequences requiring an iterable

Domenic Denicola wrote:
> I still think only doing one iteration would be more idiomatic, but of course this thread has been debating that back and forth and it sounds like you landed on two iterations, so, shrug.

Observability means compatibility.

Two loops, one via the iteration protocol, the second doing conversions, 
provides observation of both loops and their order. That's a curse and a 
blessing, but I agree we can't dodge it.

/be

Received on Monday, 18 November 2013 18:43:35 UTC