src/Pure/ML-Systems/install_pp_polyml.ML
changeset 28673 d746a8c12c43
parent 28672 0baf1d9c6780
child 28975 ec120dc11e8b
--- a/src/Pure/ML-Systems/install_pp_polyml.ML	Thu Oct 23 13:52:28 2008 +0200
+++ b/src/Pure/ML-Systems/install_pp_polyml.ML	Thu Oct 23 14:22:16 2008 +0200
@@ -10,9 +10,9 @@
   | SOME (Exn.Exn _) => str "<failed>"
   | SOME (Exn.Result y) => print (y, depth)));
 
-install_pp (fn (str, _, _, _) => fn depth => fn (print: 'a * int -> unit) => fn (x: 'a Susp.T) =>
-  (case Susp.peek x of
-    NONE => str "<delayed>"
+install_pp (fn (str, _, _, _) => fn depth => fn (print: 'a * int -> unit) => fn (x: 'a Lazy.T) =>
+  (case Lazy.peek x of
+    NONE => str "<lazy>"
   | SOME (Exn.Exn _) => str "<failed>"
   | SOME (Exn.Result y) => print (y, depth)));