gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] Nit


From: Tom Lord
Subject: Re: [Gnu-arch-users] Nit
Date: Tue, 21 Oct 2003 18:13:54 -0700 (PDT)


    > From: Miles Bader <address@hidden>

    > Check out clu (the language)* for a very nice implementation of this sort 
of
    > exception.  Note that in the case where an exception _isn't_ handled
    > immediately by the caller, clu turns it into an `unhandled exception'
    > exception, which is implicitly part of the return value of every function.

Schweet.   Yes, that's The Right Thing for a new language design.

The convention of an error_t * parameter to every C function in some
set of libraries is just the poor-man's approximation of that.


    > The question of whether exceptions should propagate past the immediate 
caller
    > is an old and hoary one in CS; I'm not aware of any definitive resolution.

Nah, you're not aware of any _widely_recognized_ definitive
resolution.   

Say, does clu have continuations?

-t


p.s.: say, while we're handing out nifty references, here's two
(related) about how java-style exceptions reduce to continuations +
dynamic scope + pattern matching:

        http://srfi.schemers.org/srfi-34/
        http://srfi.schemers.org/srfi-35/





reply via email to

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