title: Syntax of nested "if else" in SML
body: <p>I am strugging a bit to implement a nested if else expressions in SML. Can anyone highlight its syntax. Suppose there are three conditions C1, C2, C3 I need equivalent of following in C code.</p>
  
  <pre><code>if (C1) { 
      return true;
  }
  else {
      if(C2) {
          return true;
      }
      else {
           if (C3) {
               return true;
           }
           else {
               return false;
           }
      }
  }
  </code></pre>
  
  <p>I tried the following, but its treated as "if, else if, and else" cases</p>
  
  <pre><code>if C1 then true
  else if C2 then true
  else if C3 then true
  else false
  </code></pre>