John Porter wrote: > Jeremy Howard wrote: > > Yes, they're not identical. What I mean of course is: > > (..-1) == reverse(map -__ (1..)); > > WHAT? So the semantics of .. are magically different in the context > of (..$n) so as to produce numbers in descending order? Both of those expressions are the infinite list (-infinity..-1). I have no idea how to write that properly 'cause I'm not a math guy. These things aren't streams (infinite queues) -- they're infinite stacks. I'm not sure they have a name in computer science. Somebody proposed that we have lists that are infinite in both directions, but I'm having trouble understanding how those would be useful. Anybody want to take a few minutes to teach the math-impaired among us? - Ken
- Re: RFC 24 (v1) Semi-finite (lazy) lists Jeremy Howard
- Re: RFC 24 (v1) Semi-finite (lazy) lists Ariel Scolnicov
- Re: RFC 24 (v1) Semi-finite (lazy) lists Jeremy Howard
- Re: RFC 24 (v1) Semi-finite (lazy) lists Ariel Scolnicov
- Re: RFC 24 (v1) Semi-finite (lazy) lists Jeremy Howard
- Re: RFC 24 (v1) Semi-finite (lazy) l... Ariel Scolnicov
- Infinite lists (was Re: RFC 24 (... Jeremy Howard
- Re: Infinite lists (was Re: RFC ... Ken Fox
- Re: Infinite lists (was Re: RFC ... Jeremy Howard
- Re: Infinite lists (was Re: RFC ... John Porter
- Re: Infinite lists (was Re: RFC ... Ken Fox
- Re: Infinite lists (was Re: RFC ... Jeremy Howard
- Re: Infinite lists (was Re: RFC ... John Porter
- Re: Infinite lists (was Re: RFC ... Ted Ashton
- Re: Infinite lists (was Re: RFC ... John Porter
- Re: Infinite lists (was Re: RFC ... Ted Ashton
- Re: Infinite lists (was Re: RFC ... James Mastros
- Re: Infinite lists (was Re: RFC ... Jeremy Howard
- Re: Infinite lists (was Re: RFC ... Ted Ashton
- Re: Infinite lists (was Re: RFC ... Damian Conway
- Re: Infinite lists (was Re: RFC ... Ted Ashton