Kevin Smith (2014-01-09T14:35:23.000Z)
>
>
> I may warm up to the extra complexity more easily if somebody could
> present at least some compelling use cases. :)
>
>
Mark's mention of yield got me thinking about await expressions.  Hopefully
I'm using this correctly:

    // stat is null or a Stat object
    const stat = do { try { await FS.stat(path) } catch (x) { null } }

Does that work as a use case for block semantics?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140109/28713866/attachment.html>
domenic at domenicdenicola.com (2014-01-14T17:48:17.457Z)
> I may warm up to the extra complexity more easily if somebody could
> present at least some compelling use cases. :)
>
>

Mark's mention of `yield` got me thinking about `await` expressions.  Hopefully
I'm using this correctly:

```js
// stat is null or a Stat object
const stat = do { try { await FS.stat(path) } catch (x) { null } }
```

Does that work as a use case for block semantics?