guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: while break and continue


From: Kevin Ryde
Subject: Re: while break and continue
Date: Sat, 21 Jun 2003 09:56:56 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

Marius Vollmer <address@hidden> writes:
>
> What usage are you worried about?

Only the sort of thing you can imagine.  Eg. with the current "while",

        (let ((not      1)
              (sensible 2))
          (while (< sensible 4)
            (set sensible (+ sensible not))))

gives

        ERROR: Wrong type to apply: 1

> Yes, definitely.  That's what (ice-9 syncase) is for...

Yep.  I guess it's a bit big and ugly to drag into boot-9.scm though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]