[Nickle] nickle: Branch 'master' - 2 commits
bart at cs.pdx.edu
Thu Nov 22 23:20:14 PST 2012
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...
On Tue, Nov 20, 2012 at 2:20 PM, Keith Packard <keithp at keithp.com> wrote:
> Bart Massey <bart at cs.pdx.edu> writes:
> > Why doesn't twixt have an optional else block? I'm kinda sure it used to.
> > Shouldn't it? --Bart
> That meant you needed a strictly boolean expression for the entry, which
> was really annoying (can't use File::open, for example)
> In any case, it doesn't currently, so I wanted to fix the docs at least ;-)
> keith.packard at intel.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nickle