def sequence(s: Iterable) -> ISeq[Any]:
try:<EOL><INDENT>i = iter(s)<EOL>return _Sequence(i, next(i))<EOL><DEDENT>except StopIteration:<EOL><INDENT>return EMPTY<EOL><DEDENT>
Create a Sequence from Iterable s.