Re: Why equal(x[n], x[n..n])=0 ?
- Posted by Jason Gade <jaygade at yahoo.co?> Sep 25, 2007
- 689 views
Maybe you could post an algorithm/code sample where you think returning an atom would make more sense? s[constant...constant] is never used; slices are usually used in a loop or with one or two variables. The expression following almost invariably expects a sequence--returning either a sequence or an atom would require extra checking. -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.