From: livingcosmos.org
Subject: LOOP: upfrom, upto, above
Date: 
Message-ID: <0c0e6277-591e-4738-a342-405905f2ef4d@a35g2000prf.googlegroups.com>
Re: http://www.lispworks.com/documentation/HyperSpec/Body/06_abaa.htm

No examples are given of how to use upfrom, upto and above and I cant
make out their usefulness from the spec. I'd appreciate some sample
code using these 3, preferably one at a time.

From: Slobodan Blazeski
Subject: Re: LOOP: upfrom, upto, above
Date: 
Message-ID: <88f42def-7d4e-4054-a6f9-de42914ac296@t1g2000pra.googlegroups.com>
On Dec 17, 9:25 pm, "livingcosmos.org" <········@gmail.com> wrote:
> Re:http://www.lispworks.com/documentation/HyperSpec/Body/06_abaa.htm
>
> No examples are given of how to use upfrom, upto and above and I cant
> make out their usefulness from the spec. I'd appreciate some sample
> code using these 3, preferably one at a time.

http://gigamonkeys.com/book/loop-for-black-belts.html
http://cl-cookbook.sourceforge.net/loop.html
http://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node235.html

cheers
Slobodan
http://tourdelisp.blogspot.com/
From: Edi Weitz
Subject: Re: LOOP: upfrom, upto, above
Date: 
Message-ID: <uwsrcms5j.fsf@agharta.de>
On Mon, 17 Dec 2007 21:25:28 -0800 (PST), "livingcosmos.org" <········@gmail.com> wrote:

> Re: http://www.lispworks.com/documentation/HyperSpec/Body/06_abaa.htm
>
> No examples are given of how to use upfrom, upto and above and I
> cant make out their usefulness from the spec.

It's a language spec, not an introduction or a textbook.

> I'd appreciate some sample code using these 3, preferably one at a
> time.

  http://gigamonkeys.com/book/

Edi.

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")
From: livingcosmos.org
Subject: Re: LOOP: upfrom, upto, above
Date: 
Message-ID: <e7beae27-7c53-40a3-86a3-ed05008fb3a9@o42g2000hsc.googlegroups.com>
On Dec 18, 1:30 am, Edi Weitz <········@agharta.de> wrote:
> On Mon, 17 Dec 2007 21:25:28 -0800 (PST), "livingcosmos.org" <········@gmail.com> wrote:
> > Re:http://www.lispworks.com/documentation/HyperSpec/Body/06_abaa.htm
>
> > No examples are given of how to use upfrom, upto and above and I
> > cant make out their usefulness from the spec.
>
> It's a language spec, not an introduction or a textbook.
>
> > I'd appreciate some sample code using these 3, preferably one at a
> > time.
>
>  http://gigamonkeys.com/book/

Ok I figured them out from this text and a bit of hacking:
* upfrom == from
* above is like below but for decreasing loops
* upto == to

Thanks.