clarified ML pretty printing;
authorwenzelm
Tue, 21 Jun 2022 15:56:31 +0200
changeset 75575 06f8b072f28e
parent 75574 5945c6f5126a
child 75576 8c5eedb6c983
clarified ML pretty printing;
src/Pure/General/bytes.ML
--- a/src/Pure/General/bytes.ML	Tue Jun 21 15:48:59 2022 +0200
+++ b/src/Pure/General/bytes.ML	Tue Jun 21 15:56:31 2022 +0200
@@ -97,4 +97,8 @@
 val read = File.open_input read_stream;
 val write = File.open_output write_stream;
 
+val _ =
+  ML_system_pp (fn _ => fn _ => fn bytes =>
+    PolyML.PrettyString ("Bytes {length = " ^ string_of_int (length bytes) ^ "}"))
+
 end;