Bug with Sequence
- To: mathgroup at smc.vnet.net
- Subject: [mg104568] Bug with Sequence
- From: dh <dh at metrohm.com>
- Date: Wed, 4 Nov 2009 01:34:10 -0500 (EST)
Hello, has anybody an explanation for the behavior of "Sequence"? I think it is an ugly bug. Consider the following that shoud succesively shorten the list t: t = {1, 2, 3}; j = 0; While[ ++j < 4, t[[1]] = Sequence[]; Print[t]] this returns: {2,3} three times.Dropping of the first element only seems to work once. If you say Information[t] you get: t={Sequence[],2,3} Daniel
- Follow-Ups:
- Re: Bug with Sequence
- From: Leonid Shifrin <lshifr@gmail.com>
- Re: Bug with Sequence
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Bug with Sequence
- From: "Kurt TeKolste" <tekolste@fastmail.us>
- Re: Bug with Sequence
- From: Patrick Scheibe <pscheibe@trm.uni-leipzig.de>
- Re: Bug with Sequence
- From: Sseziwa Mukasa <mukasa@jeol.com>
- Re: Bug with Sequence