<p><br>
On Nov 10, 2011 7:34 PM, "wrp" <<a href="mailto:i3text@gmail.com">i3text@gmail.com</a>> wrote:<br>
><br>
> Match specifications don't appear to be complicated, but the<br>
> documentation on them is sparse. I found the description in Cesarini &<br>
> Thompson to be much clearer than in the ERTS User's Guide, but I still<br>
> have some points of confusion.<br>
><br>
> For starters:<br>
><br>
> 1. Quoting seems incosistent. Why is 'and' quoted but andalso is not?</p>
<p>'and' and and are the same.<br>
'andalso' and andalso are the same.<br>
Just atoms is all it is.</p>
<p>><br>
> 2. Why is float division (/) not accepted in guards?</p>
<p>No clue, I did not know it was, I am curious too.</p>
<p>><br>
> 3. In the case of infix operators, does {'op','$1','$2'} always mean<br>
> "$1 op $2" (vs. "$2 op $1")?</p>
<p>I think so, but do not quote me, wait for another to answer, I do not have the source right now.</p>
<p>><br>
> 4. The ERTS User's Guide lists get_tcw as an allowed function in ets<br>
> matches. Is that correct?<br>
></p>
<p>No clue.<br>
_______________________________________________<br>
> erlang-questions mailing list<br>
> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
> <a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</p>