On 7 October 2011 17:47, David Herman <[email protected]> wrote:

> I don't think we can get away with repurposing _ as a pattern sigil, since
> it's already a valid identifier and used by popular libraries:
>
>     http://documentcloud.github.com/underscore/
>
> In my strawman for pattern matching, I used * as the "don't-care" pattern:
>
>     http://wiki.ecmascript.org/doku.php?id=strawman:pattern_matching
>

I reckoned that _ would be infeasible. But * is fine too, although it might
cause more headache in a fused pattern/expression grammar.

/Andreas
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to