title: Error : Syntax error found at EOF
body: <p>I am running this code in SMLNJ.</p>
  
  <pre><code>val evenfibs=
  let
    fun SIFT NIL = NIL
    | SIFT l =
         CONS(0, fn () =&gt;
                      SIFT(FILTER (fn x =&gt; x mod 2 == 0) (TL l) ) );
  
  val oddfibs=
  let
    fun SIFT NIL = NIL
        | SIFT l =
         CONS(0, fn () =&gt;
                      SIFT(FILTER (fn x =&gt; x mod 2 &lt;&gt; 0) (TL l) ));
  </code></pre>
  
  <p>assign3.sml:60.1 Error: syntax error found at EOF</p>
  
  <pre><code>uncaught exception Compile [Compile: "syntax error"]
    raised at: ../compiler/Parse/main/smlfile.sml:15.24-15.46
               ../compiler/TopLevel/interact/evalloop.sml:44.55
               ../compiler/TopLevel/interact/evalloop.sml:296.17-296.20
  </code></pre>