Re: push with lazy lists

2004-07-16 Thread Simon Cozens
[EMAIL PROTECTED] (David Storrs) writes: > Does it even make sense to take the Infiniteth element of an array? You should have used a hash in the first place. -- BASH is great, it dumps core and has clear documentation. -Ari Suntioinen

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
"Ph. Marek" <[EMAIL PROTECTED]> writes: > Please take my words as my understanding, ie. with no connection to > mathmatics or number theory or whatever. I'll just say what I > believe is practical. [...] > I'd believe that infinity can be integer, ie. has no numbers after > the comma; and infinity

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
David Storrs <[EMAIL PROTECTED]> writes: > Does it even make sense to take the Infiniteth element of an array? No. At best, it would be undefined, so we could define it to return undef. > I think I would prefer if using Inf as an array index resulted in a > trappable error. Or that, yeah. --

Re: push with lazy lists

2004-07-16 Thread Jonadab the Unsightly One
Austin Hastings <[EMAIL PROTECTED]> writes: > Half of all numbers in [0, Inf) are in the range [Inf/2, Inf). Which > collapses to the range [Inf, Inf). It's not that simple. By that reasoning, 10% of all numbers in [0,Inf) would be in [Inf/10,Inf), also reducing to the range [Inf,Inf). For tha