Browse Source

fix the "seq expr" print placeholder

john melesky 8 years ago
parent
commit
cb8e00f310
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chapter1/chapter1.sml

+ 1 - 1
chapter1/chapter1.sml

@@ -86,7 +86,7 @@ and expAsStr t (NumExp x)      = Int.toString x
     in
         Int.toString v1
     end
-  | expAsStr t (EseqExp (s,e)) = "seq expr"
+  | expAsStr t (EseqExp (s,e)) = expAsStr (interpStm t s) e
 
 
 fun interp s = interpStm [] s