<div dir="ltr">Hi Rad,<div><br></div><div>Thanks, that helps.</div><div><br></div><div>Regards,</div><div>Theepan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 5, 2016 at 6:21 PM, Rad Gruchalski <span dir="ltr"><<a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                    It’s explained here: <a href="http://erlang.org/doc/reference_manual/expressions.html#id83710" target="_blank">http://erlang.org/doc/reference_manual/expressions.html#id83710</a>
                </div><div><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">The set of valid </span><strong style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:normal">guard expressions</strong><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px;line-height:normal"> (sometimes called guard tests) is a subset of the set of valid Erlang expressions. The reason for restricting the set of valid expressions is that evaluation of a guard expression must be guaranteed to be free of side effects.</span></div><div>
                
                
                


<p style="font-family:Helvetica;font-size:10pt;margin-bottom:0cm">
                
                
                


</p><p style="font-family:Helvetica;font-size:10pt;margin-bottom:0cm">
                
                
                


</p><p style="margin-bottom:0cm">
                
                
                


</p><p style="margin-bottom:0cm"><font color="#000000"><font face="Helvetica, sans-serif"><font style="font-size:9pt">Kind
regards,
<br>Radek
Gruchalski<br>
</font></font></font><font face="Helvetica, sans-serif"><font style="font-size:9pt"><a href="mailto:radek@gruchalski.com" target="_blank">radek@gruchalski.com</a><a href="mailto:radek@gruchalski.com" target="_blank">
</a></font></font><font color="#0084d1"><font face="Helvetica, sans-serif"><font style="font-size:9pt"><br></font></font></font><a href="http://de.linkedin.com/in/radgruchalski/" target="_blank"><font color="#0084d1"><font face="Helvetica, sans-serif"><font style="font-size:9pt">de.linkedin.com/in/radgruchalski/</font></font></font></a><font color="#000000"><font face="Helvetica, sans-serif"><font style="font-size:9pt"><br><br></font></font></font><font color="#878787"><font face="Helvetica, sans-serif"><font style="font-size:8pt"><b>Confidentiality:<br></b></font></font></font><font color="#878787"><font face="Helvetica, sans-serif"><font style="font-size:8pt">This
communication is intended for the above-named person and may be
confidential and/or legally privileged.<br>If it has come to you in
error you must take no action based on it, nor must you copy or show
it to anyone; please delete/destroy and inform the sender
immediately.</font></font></font></p></div><div><div class="h5">
                 
                <p style="color:#a0a0a8">On Friday, 5 February 2016 at 13:40, Theepan wrote:</p>
                </div></div><blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
                    <span><div><div><div class="h5"><div><div dir="ltr"><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">Team - Any idea?</p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">60> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">60> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">60> is_integer(A = 5).                       </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">true</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">61> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">61> fun () when is_integer(A = 5) -> ok end.  </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">* 2: illegal guard expression</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">62> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">62> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">62> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">62> fun () when is_integer(5) -> ok end.     </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">#Fun<erl_eval.20.54118792></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">63> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">63> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">63> fun (A = 5) when is_integer(A) -> ok end. </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">#Fun<erl_eval.6.54118792></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">64> </p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">64> </p><div><br></div></div>
</div></div></div><div><div>_______________________________________________</div><div>erlang-questions mailing list</div><div><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a></div><div><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>
            </blockquote></div><br></div>