فهرست منبع

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