2008/11/17 damien morton <span dir="ltr"><<a href="mailto:dmorton@bitfurnace.com">dmorton@bitfurnace.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><div><span style="color: rgb(136, 136, 136);">So here's a question: Are there any examples of "if" statements that would be awkward or difficult to express using a "case" statement?</span></div>
</blockquote><div><br>There is never a case when it would difficult to use case, just some cases where it be awkward or look really strange:<br><br>case true of<br>    true when X > 39 -> ...;<br>    true -> ...<br>
end<br><br>instead of<br><br>if X > 39 -> ...;<br>   true -> ...<br>end<br><br>Robert<br><br></div></div>