[erlang-questions] Questions on match specifications

Lukas Larsson <>
Sat Nov 12 14:12:37 CET 2011


Hello!

We love patches which makes the documentation clearer for others to
understand. If you have the time, please contribute to make Erlang/OTP
better by submitting a patch expanding the relevant documentation. You can
find the section here:
https://github.com/erlang/otp/blob/master/erts/doc/src/match_spec.xml

Info about how to submit a patch can be found here:
https://github.com/erlang/otp/wiki/Submitting-patches

Lukas
Erlang/OTP Team

On Sat, Nov 12, 2011 at 6:07 AM, wrp <> wrote:

>
>
> On Nov 11, 8:29 pm, Daniel Dormont <> wrote:
> > Erlang also has reserved words. If I were revising the manual, I would
> > modify section 2.3 to explicitly say "or if it is a reserved word"
> > with a link to the list of reserved words, which includes both 'and'
> > and 'andalso'.
>
> AH, HA! That's it, and the list of reserved words is:
>    after      begin    bsr      cond    if     or         rem
>    and        bnot     bxor     div     let    orelse     try
>    andalso    bor      case     end     not    query      when
>    band       bsl      catch    fun     of     receive    xor
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111112/9555feda/attachment.html>


More information about the erlang-questions mailing list