guile-devel
[Top][All Lists]
Advanced

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

false-if-exception environment


From: Kevin Ryde
Subject: false-if-exception environment
Date: Wed, 10 Dec 2003 06:33:34 +1000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

        * boot-9.scm (false-if-exception): Add unquoting to catch and
        lambda, so as not to depend on expansion environment.

        * tests/exceptions.test (false-if-exception): Add tests.

This aims to permit for instance,

        (let ((catch 1)
              (fish  2))
          (false-if-exception 123))

I don't claim shadowing "catch" is a good thing, but I'd think it
ought to work.

Attachment: boot-9.scm.false.diff
Description: Text document

Attachment: exceptions.test.false.diff
Description: Text document


reply via email to

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