[Nickle] nickle: Branch 'master' - 2 commits

Keith Packard keithp at keithp.com
Thu Nov 22 23:28:25 PST 2012


Bart Massey <bart at cs.pdx.edu> writes:

> Yeah, making the docs match is a good start.
>
> I had assumed that the else block would catch the exception raised when the
> opening part of the twixt failed. I'd have to think about how the syntax
> and semantics for that would look, and whether it would be a good idea.
>
> As it stands, though, I think we've gone to a lot of trouble to absolutely
> ensure that the closing part of the twixt is executed even though the
> opening part has failed, which seems like a recipe for bad trouble in a lot
> of use cases...

If there's an exception in the first part, the second part never gets
executed. The question is whether to have the first part be a boolean
that triggers the second part; requiring a boolean is actually pretty
darn annoying.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: </pipermail/nickle/attachments/20121122/19cbad5b/attachment.pgp>


More information about the Nickle mailing list