[EMAIL PROTECTED] (Ludovic Courtès) writes:

> David Fang <[EMAIL PROTECTED]> writes:
>
>>      Is there a way to force guile to exit upon first error (uncaught
>> dynwind), analogous to "sh -e"?  Though this isn't something one would
>> want interactively, it might be useful for non-interactive scripts to bail
>> out as soon as something goes wrong, rather than continue generating
>> errors.  Thanks in advance.
>
> AFAIK, the only way to achieve this is by calling `exit':

And yes, you have to enclose your code in `dynamic-wind' or `catch'.

Thanks,
Ludovic.


_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to