[Nickle] nickle: Branch 'master' - 2 commits
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
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the Nickle