<br><br><div class="gmail_quote">2008/11/26 Dave Smith <span dir="ltr"><<a href="http://dave.smith.to">dave.smith.to</a>@<a href="http://gmail.com">gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div class="Ih2E3d"><br><span>cond</span><br>
   {ok, X} =:= f(Y) -> g(X);<br>
   true -> h(X)<br>
end <br></div></blockquote><div> </div></div><br>Again, this is exactly why I would like to avoid another conditional construct. People would do the above when the following would be appropriate:<br><br>case f(Y) of <br>
  {ok, X} -> g(X);<br>  _ -> h(X)         %% X unbound ???<br>end<br><br><br>