ソースを参照

fix the "seq expr" print placeholder

john melesky 8 年 前
コミット
cb8e00f310
1 ファイル変更1 行追加1 行削除
  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