<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 5, 2016 at 2:30 PM, Bengt Kleberg <span dir="ltr"><<a href="mailto:bengt.kleberg@ericsson.com" target="_blank">bengt.kleberg@ericsson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
For F, did you mean:<br>
<font face="monospace, monospace">((is_integer(X) or is_float(X))
and X) < 5</font></div></blockquote><div><br></div><div>Not really, no :)</div><div><br></div><div><div><font face="monospace, monospace">1> F = fun(X) when ((is_integer(X) or is_float(X)) and X) < 5 -> ok end.</font></div><div><font face="monospace, monospace">#Fun<erl_eval.6.50752066></font></div><div><font face="monospace, monospace">13> F(1).</font></div><div><font face="monospace, monospace">** exception error: no function clause matching erl_eval:'-inside-an-interpreted-fun-'(1) </font></div></div><div><br></div><div><br></div><div> </div></div></div></div>