<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 10/02/2014 04:26 PM, Burton Samograd wrote:<br>
    <blockquote
cite="mid:CAM8pOuNQkvAHU-RObKm0TD4q4XizJd5nWKjvD0jFce3JkBcZug@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>fun page (title:string, body:xbody) =<br>
                  <xml><br>
                  {head_tmpl title}<br>
                  {body_tmpl body}<br>
                  </xml><br>
                  <br>
              fun main () : transaction page = <br>
                  return (page "BlogMain" <xml/>)<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I expect Mutaamba's reply clears up the issue, but, to put it
    concisely: the issue here is a function defined with <i>tupling</i>
    but called with <i>currying</i>.  Those are two different
    approaches to encoding multiple-argument functions on top of
    single-argument functions, and the distinction is also present (and
    also confuses newcomers!) in Haskell and ML.<br>
  </body>
</html>