Explorar el Código

fix the "seq expr" print placeholder

john melesky hace 8 años
padre
commit
cb8e00f310
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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