added string_of: text -> string;
authorwenzelm
Wed, 29 Sep 1999 13:48:35 +0200
changeset 7631 1b6b51b17c4a
parent 7630 d0e4a6f1f05c
child 7632 25a0d2ba3a87
added string_of: text -> string;
src/Pure/Isar/comment.ML
--- a/src/Pure/Isar/comment.ML	Wed Sep 29 13:13:06 1999 +0200
+++ b/src/Pure/Isar/comment.ML	Wed Sep 29 13:48:35 1999 +0200
@@ -8,6 +8,7 @@
 signature COMMENT =
 sig
   type text
+  val string_of: text -> string
   val plain: string -> text
   val none: text
   val ignore: 'a * text -> 'a
@@ -25,6 +26,8 @@
 (** text **)
 
 datatype text = Text of string;
+
+fun string_of (Text s) = s;
 val plain = Text;
 val none = plain "";