Re: [Chicken-users] loopy-loop

2010-12-21 Thread Alex Shinn
On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui hugo.arre...@gmail.com wrote:
 Hi guys, I'm facing an unexpected behaviour using loopy-loop:

Is there a reason you're using loopy-loop instead
of the newer fast-loop?

 shows 6,5 as expected, but:

 (loop lm ((m - in-range-reverse 6 4))
      (print m)
      (lm))

That's a bug, I'll fix it.

 Also, this:

 (loop lm ((m - in-range 4))
      (print m)
      (lm))

 is given me an error:

The error message isn't very helpful, but the problem is
you need an endpoint in the range.

-- 
Alex

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] loopy-loop

2010-12-21 Thread Hugo Arregui
On Tue, Dec 21, 2010 at 10:44 PM, Alex Shinn alexsh...@gmail.com wrote:
 On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui hugo.arre...@gmail.com wrote:
 Hi guys, I'm facing an unexpected behaviour using loopy-loop:

 Is there a reason you're using loopy-loop instead
 of the newer fast-loop?

I didn't know about that. I don't see any docs on eggs index, can you
point me to them?

thanks

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] loopy-loop

2010-12-21 Thread Alex Shinn
On Wed, Dec 22, 2010 at 10:54 AM, Hugo Arregui hugo.arre...@gmail.com wrote:
 On Tue, Dec 21, 2010 at 10:44 PM, Alex Shinn alexsh...@gmail.com wrote:
 On Mon, Dec 20, 2010 at 1:45 AM, Hugo Arregui hugo.arre...@gmail.com wrote:
 Hi guys, I'm facing an unexpected behaviour using loopy-loop:

 Is there a reason you're using loopy-loop instead
 of the newer fast-loop?

 I didn't know about that. I don't see any docs on eggs index, can you
 point me to them?

fast-loop is a variation that implements the foof-loop syntax:

  http://mumble.net/~campbell/scheme/foof-loop.txt

There are a couple of semantic differences, and some
extensions.  I'll add documentation when I get a chance.

-- 
Alex

___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] loopy loop!

2006-11-28 Thread Alex Shinn

On 11/28/06, Alex Shinn [EMAIL PROTECTED] wrote:

On 11/28/06, felix winkelmann [EMAIL PROTECTED] wrote:
 This announces the availability of loopy-loop,
 Alex Shinn's lightweight, elegant and customizable looping
 construct (syntax-case only).

Better documentation will be forthcoming shortly!


And is now on the wiki, pending an update on the eggs page:

 http://chicken.wiki.br/loopy-loop

--
Alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] loopy loop!

2006-11-28 Thread felix winkelmann

On 11/28/06, Alex Shinn [EMAIL PROTECTED] wrote:


And is now on the wiki, pending an update on the eggs page:

  http://chicken.wiki.br/loopy-loop



Should be up to date, now.


cheers,
felix

--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] loopy loop!

2006-11-27 Thread Alex Shinn

On 11/28/06, felix winkelmann [EMAIL PROTECTED] wrote:

This announces the availability of loopy-loop,
Alex Shinn's lightweight, elegant and customizable looping
construct (syntax-case only).


Better documentation will be forthcoming shortly!

Questions, comments and suggestions are greatly
appreciated.

I'm keeping this very simple right now, but am open to
new ideas.  In particular, if you want more features out
of the box you may want to look at Taylor Campbell's
variant of the loop at

 http://mumble.net/~campbell/tmp/foof-loop.txt
 http://mumble.net/~campbell/scheme/foof-loop.scm

In the meantime, give the loop a try - it's simple and fast
and has no runtime requirements.

--
Alex


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users