[Nix-dev] Re: Proposal: tryCatch function

Ludovic Courtès ludo at gnu.org
Tue Jan 6 22:32:22 CET 2009


"Nicolas Pierron"
<nicolas.b.pierron at gmail.com> writes:

> tryCatch is called like that to escape future name collisions when the
> sugar will be introduced  "try ... catch ...".

Beware, too much sugar is harmful...

(FWIW, Guile Scheme has `(catch KEY THUNK HANDLER)', I see little value
in adding sugar just to be able to write `try ... catch'.)

Ludo'.




More information about the nix-dev mailing list