W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2013

sequence and iterables

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 15 Nov 2013 21:13:08 -0500
Message-ID: <5286D4B4.7070504@mit.edu>
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
CC: Anne van Kesteren <annevk@annevk.nl>
I'm no longer entirely convinced that sequence should necessarily map to 
iterables.

In particular, sequence as currently specced would correspond to 
snapshotting the iterable immediately, but that's an odd thing to do 
with an iterable.  A more natural representation of iterables might be 
some sort of iterator object, though then you have to be very careful 
about it throwing exceptions, etc...

-Boris
Received on Saturday, 16 November 2013 02:13:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:19 UTC