[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] tamale-1.2 - Erlang-style pattern matching library
- From: Scott Vokes <vokes.s@...>
- Date: Fri, 24 Sep 2010 10:41:30 -0400
On Fri, Sep 24, 2010 at 10:21 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> This makes sense. It is all too easy to include a magic character in a
> string, suddenly changing the semantics totally. We are _used_ to
> this in Lua, but it does bite people.
Yes, especially "."! I will turn off the default of "any magic
chars -> use string.match" off when I work on tamale this weekend.
Either a flag or expecting a function in such cases seems like a
better alternative.
Scott